mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-14 06:59:43 -05:00
surface: add wlr_surface new_subsurface and wlr_subsurface destroy events
This commit is contained in:
parent
c6aab6f56c
commit
eeffe11337
5 changed files with 16 additions and 10 deletions
|
|
@ -13,7 +13,7 @@ struct wlr_compositor {
|
|||
struct wl_listener display_destroy;
|
||||
|
||||
struct {
|
||||
struct wl_signal create_surface;
|
||||
struct wl_signal new_surface;
|
||||
} events;
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -56,6 +56,10 @@ struct wlr_subsurface {
|
|||
struct wl_list parent_pending_link;
|
||||
|
||||
struct wl_listener parent_destroy_listener;
|
||||
|
||||
struct {
|
||||
struct wl_signal destroy;
|
||||
} events;
|
||||
};
|
||||
|
||||
struct wlr_surface {
|
||||
|
|
@ -70,6 +74,7 @@ struct wlr_surface {
|
|||
|
||||
struct {
|
||||
struct wl_signal commit;
|
||||
struct wl_signal new_subsurface;
|
||||
struct wl_signal destroy;
|
||||
} events;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue