mirror of
https://github.com/cage-kiosk/cage.git
synced 2026-02-05 04:06:24 -05:00
xwayland: remove associate/dissociate listeners
This commit is contained in:
parent
f9626f7951
commit
c05a47650f
1 changed files with 2 additions and 0 deletions
|
|
@ -139,6 +139,8 @@ handle_xwayland_surface_destroy(struct wl_listener *listener, void *data)
|
|||
struct cg_xwayland_view *xwayland_view = wl_container_of(listener, xwayland_view, destroy);
|
||||
struct cg_view *view = &xwayland_view->view;
|
||||
|
||||
wl_list_remove(&xwayland_view->associate.link);
|
||||
wl_list_remove(&xwayland_view->dissociate.link);
|
||||
wl_list_remove(&xwayland_view->destroy.link);
|
||||
wl_list_remove(&xwayland_view->request_fullscreen.link);
|
||||
xwayland_view->xwayland_surface = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue