diff options
author | Simon Ser <contact@emersion.fr> | 2023-12-04 22:43:27 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2023-12-25 11:47:15 +0100 |
commit | 9201431c291ccd26d0958e1a8ab9cb9c84763677 (patch) | |
tree | 44c7ba8cdadab6b78fe5a53168e35be3e172909d /include | |
parent | 69d9a4e2cbd5fae3dcb7b30530092e03465dc67b (diff) |
xdg-shell: use wlr_surface_synced for toplevel
Diffstat (limited to 'include')
-rw-r--r-- | include/types/wlr_xdg_shell.h | 1 | ||||
-rw-r--r-- | include/wlr/types/wlr_xdg_shell.h | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/types/wlr_xdg_shell.h b/include/types/wlr_xdg_shell.h index 34dec2ad..1ae142fd 100644 --- a/include/types/wlr_xdg_shell.h +++ b/include/types/wlr_xdg_shell.h @@ -30,6 +30,7 @@ void create_xdg_toplevel(struct wlr_xdg_surface *surface, uint32_t id); void reset_xdg_toplevel(struct wlr_xdg_toplevel *toplevel); void destroy_xdg_toplevel(struct wlr_xdg_toplevel *toplevel); +void handle_xdg_toplevel_client_commit(struct wlr_xdg_toplevel *toplevel); void handle_xdg_toplevel_committed(struct wlr_xdg_toplevel *toplevel); struct wlr_xdg_toplevel_configure *send_xdg_toplevel_configure( struct wlr_xdg_toplevel *toplevel); diff --git a/include/wlr/types/wlr_xdg_shell.h b/include/wlr/types/wlr_xdg_shell.h index fbc771a7..168d76d9 100644 --- a/include/wlr/types/wlr_xdg_shell.h +++ b/include/wlr/types/wlr_xdg_shell.h @@ -208,6 +208,10 @@ struct wlr_xdg_toplevel { struct wl_signal set_title; struct wl_signal set_app_id; } events; + + // private state + + struct wlr_surface_synced synced; }; struct wlr_xdg_surface_configure { |