diff options
author | Kirill Primak <vyivel@eclair.cafe> | 2022-04-12 11:45:21 +0300 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2022-05-27 13:31:30 +0000 |
commit | 8a0835c59c5569d6e0d24b5d246cce069262ad3c (patch) | |
tree | 8e123c7a18d86184ae3f035e61d81be3da5a57d4 /include/wlr | |
parent | 6f1fce9cb450e22b6312369392d8835667825171 (diff) |
xdg-positioner: add v3 parameters
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/types/wlr_xdg_shell.h | 9 |
1 files changed, 8 insertions, 1 deletions
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 { |