aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2017-12-07 00:44:45 +0100
committeremersion <contact@emersion.fr>2017-12-07 00:44:45 +0100
commite6d2e72401200743ba13e20945dfad9f458a87e1 (patch)
tree1cf743d2506dc5aba34cb72ab8df513806754ef2 /include/wlr
parent32591d66d61e2a4ef06db89276f8d158d22d81a8 (diff)
Remove display destroy listeners, add compositor listener
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_compositor.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/include/wlr/types/wlr_compositor.h b/include/wlr/types/wlr_compositor.h
index b2f5a972..ceeb64ca 100644
--- a/include/wlr/types/wlr_compositor.h
+++ b/include/wlr/types/wlr_compositor.h
@@ -9,7 +9,8 @@ struct wlr_compositor {
struct wl_list wl_resources;
struct wlr_renderer *renderer;
struct wl_list surfaces;
- struct wl_listener destroy_surface_listener;
+
+ struct wl_listener display_destroy;
struct {
struct wl_signal create_surface;
@@ -20,8 +21,4 @@ void wlr_compositor_destroy(struct wlr_compositor *wlr_compositor);
struct wlr_compositor *wlr_compositor_create(struct wl_display *display,
struct wlr_renderer *renderer);
-struct wlr_surface;
-void wl_compositor_surface_destroyed(struct wlr_compositor *wlr_compositor,
- struct wlr_surface *surface);
-
#endif