diff options
author | Simon Ser <contact@emersion.fr> | 2023-12-07 21:11:37 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2023-12-25 11:47:15 +0100 |
commit | 0e3d2222c2cb6566f6f5f3912b7bddb45eb7e5e5 (patch) | |
tree | 1224add4cbc827501dc2031d2d87243163e3b0cd /include/wlr | |
parent | 96aec06b0a361db7604488bd5d246c20d68a91b1 (diff) |
xdg-decoration: use wlr_surface_synced for toplevel
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/types/wlr_xdg_decoration_v1.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/wlr/types/wlr_xdg_decoration_v1.h b/include/wlr/types/wlr_xdg_decoration_v1.h index d8ec038d..f1a8bc5b 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_toplevel * toplevel; + struct wlr_xdg_toplevel *toplevel; struct wlr_xdg_decoration_manager_v1 *manager; struct wl_list link; // wlr_xdg_decoration_manager_v1.link @@ -52,12 +52,15 @@ struct wlr_xdg_toplevel_decoration_v1 { struct wl_signal request_mode; } events; + void *data; + + // private state + struct wl_listener toplevel_destroy; struct wl_listener surface_configure; struct wl_listener surface_ack_configure; - struct wl_listener surface_commit; - void *data; + struct wlr_surface_synced synced; }; struct wlr_xdg_decoration_manager_v1 * |