mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
xdg-shell: use wlr_surface_synced for popups
This commit is contained in:
parent
9201431c29
commit
4b3553409a
4 changed files with 32 additions and 7 deletions
|
|
@ -20,6 +20,7 @@ void create_xdg_popup(struct wlr_xdg_surface *surface,
|
|||
struct wlr_xdg_positioner *positioner, uint32_t id);
|
||||
void reset_xdg_popup(struct wlr_xdg_popup *popup);
|
||||
void destroy_xdg_popup(struct wlr_xdg_popup *popup);
|
||||
void handle_xdg_popup_client_commit(struct wlr_xdg_popup *popup);
|
||||
void handle_xdg_popup_committed(struct wlr_xdg_popup *popup);
|
||||
struct wlr_xdg_popup_configure *send_xdg_popup_configure(
|
||||
struct wlr_xdg_popup *popup);
|
||||
|
|
|
|||
|
|
@ -110,6 +110,10 @@ struct wlr_xdg_popup {
|
|||
} events;
|
||||
|
||||
struct wl_list grab_link; // wlr_xdg_popup_grab.popups
|
||||
|
||||
// private state
|
||||
|
||||
struct wlr_surface_synced synced;
|
||||
};
|
||||
|
||||
// each seat gets a popup grab
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue