mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-13 13:29:44 -05:00
xdg-popup: use configure fields
This commit is contained in:
parent
8d2fa15e9d
commit
5c4384a133
2 changed files with 14 additions and 6 deletions
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue