mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-07 13:29:49 -05:00
xdg-positioner: add v3 parameters
This commit is contained in:
parent
6f1fce9cb4
commit
8a0835c59c
3 changed files with 40 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue