diff options
author | emersion <contact@emersion.fr> | 2018-01-21 14:22:33 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-01-21 14:22:33 +0100 |
commit | eeffe113372686f3b44fdb0c4e86cf8d00ba9c54 (patch) | |
tree | 085f8ead46250536b9a7a4e1b24f2ddcc9f9b692 /include/wlr | |
parent | c6aab6f56ccbc41563ef12e5fa1ed47082dffec6 (diff) |
surface: add wlr_surface new_subsurface and wlr_subsurface destroy events
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/types/wlr_compositor.h | 2 | ||||
-rw-r--r-- | include/wlr/types/wlr_surface.h | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/include/wlr/types/wlr_compositor.h b/include/wlr/types/wlr_compositor.h index ceeb64ca..8481c590 100644 --- a/include/wlr/types/wlr_compositor.h +++ b/include/wlr/types/wlr_compositor.h @@ -13,7 +13,7 @@ struct wlr_compositor { struct wl_listener display_destroy; struct { - struct wl_signal create_surface; + struct wl_signal new_surface; } events; }; diff --git a/include/wlr/types/wlr_surface.h b/include/wlr/types/wlr_surface.h index 9f88d044..50316abc 100644 --- a/include/wlr/types/wlr_surface.h +++ b/include/wlr/types/wlr_surface.h @@ -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; |