From 5c4384a1330faedf975c8b8644881d50390f3613 Mon Sep 17 00:00:00 2001 From: Kirill Primak Date: Tue, 21 Jun 2022 07:42:58 +0300 Subject: xdg-popup: use configure fields --- include/wlr/types/wlr_xdg_shell.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'include/wlr') 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; }; -- cgit v1.2.3