From 1761c3bbe22134644f79d07d62acaa8e288049da Mon Sep 17 00:00:00 2001 From: Kirill Primak Date: Wed, 13 Apr 2022 20:40:23 +0300 Subject: xdg-popup: add reposition support --- include/wlr/types/wlr_xdg_shell.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include') 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 }; -- cgit v1.2.3