mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-25 22:25:58 +01:00
xwm: use correct list link when iterating over unpaired_surfaces
This commit is contained in:
parent
abf527b075
commit
699d724000
1 changed files with 1 additions and 1 deletions
|
@ -1633,7 +1633,7 @@ void xwm_destroy(struct wlr_xwm *xwm) {
|
||||||
wl_list_for_each_safe(xsurface, tmp, &xwm->surfaces, link) {
|
wl_list_for_each_safe(xsurface, tmp, &xwm->surfaces, link) {
|
||||||
xwayland_surface_destroy(xsurface);
|
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);
|
xwayland_surface_destroy(xsurface);
|
||||||
}
|
}
|
||||||
wl_list_remove(&xwm->compositor_new_surface.link);
|
wl_list_remove(&xwm->compositor_new_surface.link);
|
||||||
|
|
Loading…
Reference in a new issue