diff options
author | Kirill Primak <vyivel@eclair.cafe> | 2022-06-21 07:42:58 +0300 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2022-06-21 15:14:37 +0000 |
commit | 5c4384a1330faedf975c8b8644881d50390f3613 (patch) | |
tree | 60e2dc295580a7f1bc017ec6bbc9c92771735120 /include/wlr | |
parent | 8d2fa15e9d7c07f9230f20deffd6ca4ba1078853 (diff) |
xdg-popup: use configure fields
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/types/wlr_xdg_shell.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/wlr/types/wlr_xdg_shell.h b/include/wlr/types/wlr_xdg_shell.h index f6b3b362..802f03a5 100644 --- a/include/wlr/types/wlr_xdg_shell.h +++ b/include/wlr/types/wlr_xdg_shell.h @@ -83,11 +83,14 @@ struct wlr_xdg_popup_state { bool reactive; }; +enum wlr_xdg_popup_configure_field { + WLR_XDG_POPUP_CONFIGURE_REPOSITION_TOKEN = 1 << 0, +}; + struct wlr_xdg_popup_configure { + uint32_t fields; // enum wlr_xdg_popup_configure_field struct wlr_box geometry; struct wlr_xdg_positioner_rules rules; - - bool has_reposition_token; uint32_t reposition_token; }; |