mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-19 06:47:02 -04:00
xdg-shell: introduce popup_grab event
This commit is contained in:
parent
dc6e09ffb6
commit
42dc9fbee2
3 changed files with 17 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue