xwayland: Remove transform listener when destroying the wm
Fix a segfault occuring after the last X window was closed.
This commit is contained in:
parent
aac6021bc0
commit
dce3dacc37
@ -1801,6 +1801,7 @@ weston_wm_destroy(struct weston_wm *wm)
|
|||||||
wl_list_remove(&wm->selection_listener.link);
|
wl_list_remove(&wm->selection_listener.link);
|
||||||
wl_list_remove(&wm->activate_listener.link);
|
wl_list_remove(&wm->activate_listener.link);
|
||||||
wl_list_remove(&wm->kill_listener.link);
|
wl_list_remove(&wm->kill_listener.link);
|
||||||
|
wl_list_remove(&wm->transform_listener.link);
|
||||||
|
|
||||||
free(wm);
|
free(wm);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user