surface: add wlr_surface new_subsurface and wlr_subsurface destroy events

This commit is contained in:
emersion 2018-01-21 14:22:33 +01:00
parent c6aab6f56c
commit eeffe11337
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
5 changed files with 16 additions and 10 deletions

View file

@ -13,7 +13,7 @@ struct wlr_compositor {
struct wl_listener display_destroy;
struct {
struct wl_signal create_surface;
struct wl_signal new_surface;
} events;
};

View file

@ -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;