From c5f8f81e58feb13aeadb4f27ee3e4e2a1eb2b8a8 Mon Sep 17 00:00:00 2001 From: Tony Crisci Date: Mon, 11 Sep 2017 17:24:55 -0400 Subject: xdg_surface: handle wlr_surface destroy --- include/wlr/types/wlr_xdg_shell_v6.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/wlr') diff --git a/include/wlr/types/wlr_xdg_shell_v6.h b/include/wlr/types/wlr_xdg_shell_v6.h index 41cf483a..500dae87 100644 --- a/include/wlr/types/wlr_xdg_shell_v6.h +++ b/include/wlr/types/wlr_xdg_shell_v6.h @@ -15,6 +15,8 @@ struct wlr_xdg_surface_v6 { struct wl_resource *surface; struct wl_list link; + struct wl_listener surface_destroy_listener; + void *data; }; -- cgit v1.2.3