xdg-shell: introduce popup_grab event

This commit is contained in:
Kirill Primak 2025-01-12 13:33:51 +03:00
parent dc6e09ffb6
commit 42dc9fbee2
3 changed files with 17 additions and 0 deletions

View file

@ -26,6 +26,7 @@ struct wlr_xdg_shell {
struct wl_signal new_surface; // struct wlr_xdg_surface
struct wl_signal new_toplevel; // struct wlr_xdg_toplevel
struct wl_signal new_popup; // struct wlr_xdg_popup
struct wl_signal popup_grab; // struct wlr_xdg_shell_popup_grab_event
struct wl_signal destroy;
} events;
@ -36,6 +37,12 @@ struct wlr_xdg_shell {
} WLR_PRIVATE;
};
struct wlr_xdg_shell_popup_grab_event {
struct wlr_xdg_popup *popup;
struct wlr_seat_client *seat_client;
uint32_t serial;
};
struct wlr_xdg_client {
struct wlr_xdg_shell *shell;
struct wl_resource *resource;