aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@proton.me>2023-08-19 11:10:36 -0600
committerLeonardo Hernández Hernández <leohdz172@proton.me>2023-08-19 11:10:36 -0600
commitbdc34401ba8e4a59b3464c17fa5acf43ca417e57 (patch)
tree28ea9db18dab8adfa1c857a5c29732a31371ca74 /include
parent22b6581a18c7b3cf10fbbc8f94c01eeffd4293f7 (diff)
xdg-decoration: store an xdg_toplevel instead of xdg_surface
Closes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3685
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_xdg_decoration_v1.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/wlr/types/wlr_xdg_decoration_v1.h b/include/wlr/types/wlr_xdg_decoration_v1.h
index 138eb020..13bb4294 100644
--- a/include/wlr/types/wlr_xdg_decoration_v1.h
+++ b/include/wlr/types/wlr_xdg_decoration_v1.h
@@ -36,7 +36,7 @@ struct wlr_xdg_toplevel_decoration_v1_state {
struct wlr_xdg_toplevel_decoration_v1 {
struct wl_resource *resource;
- struct wlr_xdg_surface *surface;
+ struct wlr_xdg_toplevel * toplevel;
struct wlr_xdg_decoration_manager_v1 *manager;
struct wl_list link; // wlr_xdg_decoration_manager_v1.link