diff options
Diffstat (limited to 'xwayland/xwm.c')
-rw-r--r-- | xwayland/xwm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xwayland/xwm.c b/xwayland/xwm.c index 7e463866..fb5879e3 100644 --- a/xwayland/xwm.c +++ b/xwayland/xwm.c @@ -1633,7 +1633,7 @@ void xwm_destroy(struct wlr_xwm *xwm) { wl_list_for_each_safe(xsurface, tmp, &xwm->surfaces, link) { xwayland_surface_destroy(xsurface); } - wl_list_for_each_safe(xsurface, tmp, &xwm->unpaired_surfaces, link) { + wl_list_for_each_safe(xsurface, tmp, &xwm->unpaired_surfaces, unpaired_link) { xwayland_surface_destroy(xsurface); } wl_list_remove(&xwm->compositor_new_surface.link); |