diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/wlr/types/wlr_xdg_shell.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/include/wlr/types/wlr_xdg_shell.h b/include/wlr/types/wlr_xdg_shell.h index 19378c16..bfb475fb 100644 --- a/include/wlr/types/wlr_xdg_shell.h +++ b/include/wlr/types/wlr_xdg_shell.h @@ -70,6 +70,12 @@ struct wlr_xdg_positioner { struct wlr_xdg_positioner_rules rules; }; +struct wlr_xdg_popup_state { + // Position of the popup relative to the upper left corner of + // the window geometry of the parent surface + struct wlr_box geometry; +}; + struct wlr_xdg_popup_configure { struct wlr_box geometry; struct wlr_xdg_positioner_rules rules; @@ -86,9 +92,7 @@ struct wlr_xdg_popup { struct wlr_xdg_popup_configure scheduled; - // Position of the popup relative to the upper left corner of the window - // geometry of the parent surface - struct wlr_box geometry; + struct wlr_xdg_popup_state current, pending; struct wl_list grab_link; // wlr_xdg_popup_grab.popups }; |