From 529f1b82ee73939071eb9fd59cbd9318d47d2525 Mon Sep 17 00:00:00 2001 From: Kirill Primak Date: Wed, 26 Jul 2023 23:18:45 +0300 Subject: xwayland/shell: don't listen to wlr_surface.events.destroy The wlr_xwayland_surface_v1 will be destroyed automatically from xwl_surface_role_destroy(). --- include/wlr/xwayland/shell.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include/wlr/xwayland/shell.h') diff --git a/include/wlr/xwayland/shell.h b/include/wlr/xwayland/shell.h index 75a410e2..6cd3d93e 100644 --- a/include/wlr/xwayland/shell.h +++ b/include/wlr/xwayland/shell.h @@ -46,8 +46,6 @@ struct wlr_xwayland_surface_v1 { struct wl_list link; struct wlr_xwayland_shell_v1 *shell; bool added; - - struct wl_listener surface_destroy; }; /** -- cgit v1.2.3