Skip to content

Commit ea2069f

Browse files
committed
xwayland: remove associate/dissociate listeners
1 parent af0a3cf commit ea2069f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

xwayland.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,8 @@ handle_xwayland_surface_destroy(struct wl_listener *listener, void *data)
153153
struct cg_xwayland_view *xwayland_view = wl_container_of(listener, xwayland_view, destroy);
154154
struct cg_view *view = &xwayland_view->view;
155155

156+
wl_list_remove(&xwayland_view->associate.link);
157+
wl_list_remove(&xwayland_view->dissociate.link);
156158
wl_list_remove(&xwayland_view->destroy.link);
157159
wl_list_remove(&xwayland_view->request_fullscreen.link);
158160
xwayland_view->xwayland_surface = NULL;

0 commit comments

Comments
 (0)