mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
xdg-popup: add reposition support
This commit is contained in:
parent
8a0835c59c
commit
1761c3bbe2
2 changed files with 39 additions and 1 deletions
|
|
@ -86,6 +86,9 @@ struct wlr_xdg_popup_state {
|
|||
struct wlr_xdg_popup_configure {
|
||||
struct wlr_box geometry;
|
||||
struct wlr_xdg_positioner_rules rules;
|
||||
|
||||
bool has_reposition_token;
|
||||
uint32_t reposition_token;
|
||||
};
|
||||
|
||||
struct wlr_xdg_popup {
|
||||
|
|
@ -101,6 +104,10 @@ struct wlr_xdg_popup {
|
|||
|
||||
struct wlr_xdg_popup_state current, pending;
|
||||
|
||||
struct {
|
||||
struct wl_signal reposition;
|
||||
} events;
|
||||
|
||||
struct wl_list grab_link; // wlr_xdg_popup_grab.popups
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue