diff options
author | Simon Ser <contact@emersion.fr> | 2023-12-08 12:16:12 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2023-12-25 11:47:15 +0100 |
commit | 4b3553409abc9c52d5b6b2dd61ad0fed04283356 (patch) | |
tree | 10d125542371ceca50ce28cb869f24bcae2455f5 /include | |
parent | 9201431c291ccd26d0958e1a8ab9cb9c84763677 (diff) | |
download | wlroots-4b3553409abc9c52d5b6b2dd61ad0fed04283356.tar.xz |
xdg-shell: use wlr_surface_synced for popups
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 1ae142fd..f3f12ec9 100644 --- a/include/types/wlr_xdg_shell.h +++ b/include/types/wlr_xdg_shell.h @@ -20,6 +20,7 @@ void create_xdg_popup(struct wlr_xdg_surface *surface, struct wlr_xdg_positioner *positioner, uint32_t id); void reset_xdg_popup(struct wlr_xdg_popup *popup); void destroy_xdg_popup(struct wlr_xdg_popup *popup); +void handle_xdg_popup_client_commit(struct wlr_xdg_popup *popup); void handle_xdg_popup_committed(struct wlr_xdg_popup *popup); struct wlr_xdg_popup_configure *send_xdg_popup_configure( struct wlr_xdg_popup *popup); diff --git a/include/wlr/types/wlr_xdg_shell.h b/include/wlr/types/wlr_xdg_shell.h index 168d76d9..5c490455 100644 --- a/include/wlr/types/wlr_xdg_shell.h +++ b/include/wlr/types/wlr_xdg_shell.h @@ -110,6 +110,10 @@ struct wlr_xdg_popup { } events; struct wl_list grab_link; // wlr_xdg_popup_grab.popups + + // private state + + struct wlr_surface_synced synced; }; // each seat gets a popup grab |