xdg-positioner: add v3 parameters

This commit is contained in:
Kirill Primak 2022-04-12 11:45:21 +03:00 committed by Simon Ser
parent 6f1fce9cb4
commit 8a0835c59c
3 changed files with 40 additions and 1 deletions

View file

@ -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 {