diff options
author | Kirill Primak <vyivel@eclair.cafe> | 2022-04-13 20:40:23 +0300 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2022-05-27 13:31:30 +0000 |
commit | 1761c3bbe22134644f79d07d62acaa8e288049da (patch) | |
tree | 00ca8c86f2c5c09361e767fd60c8fac2862f3547 /include | |
parent | 8a0835c59c5569d6e0d24b5d246cce069262ad3c (diff) |
xdg-popup: add reposition support
Diffstat (limited to 'include')
-rw-r--r-- | include/wlr/types/wlr_xdg_shell.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_xdg_shell.h b/include/wlr/types/wlr_xdg_shell.h index 687883e9..04463d2c 100644 --- a/include/wlr/types/wlr_xdg_shell.h +++ b/include/wlr/types/wlr_xdg_shell.h @@ -86,6 +86,9 @@ struct wlr_xdg_popup_state { struct wlr_xdg_popup_configure { struct wlr_box geometry; struct wlr_xdg_positioner_rules rules; + + bool has_reposition_token; + uint32_t reposition_token; }; struct wlr_xdg_popup { @@ -101,6 +104,10 @@ struct wlr_xdg_popup { struct wlr_xdg_popup_state current, pending; + struct { + struct wl_signal reposition; + } events; + struct wl_list grab_link; // wlr_xdg_popup_grab.popups }; |