From 8a0835c59c5569d6e0d24b5d246cce069262ad3c Mon Sep 17 00:00:00 2001 From: Kirill Primak Date: Tue, 12 Apr 2022 11:45:21 +0300 Subject: xdg-positioner: add v3 parameters --- include/wlr/types/wlr_xdg_shell.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'include/wlr') diff --git a/include/wlr/types/wlr_xdg_shell.h b/include/wlr/types/wlr_xdg_shell.h index bfb475fb..687883e9 100644 --- a/include/wlr/types/wlr_xdg_shell.h +++ b/include/wlr/types/wlr_xdg_shell.h @@ -56,9 +56,14 @@ struct wlr_xdg_positioner_rules { enum xdg_positioner_gravity gravity; enum xdg_positioner_constraint_adjustment constraint_adjustment; + bool reactive; + + bool has_parent_configure_serial; + uint32_t parent_configure_serial; + struct { int32_t width, height; - } size; + } size, parent_size; struct { int32_t x, y; @@ -74,6 +79,8 @@ 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; + + bool reactive; }; struct wlr_xdg_popup_configure { -- cgit v1.2.3