xwayland: Remove transform listener when destroying the wm

Fix a segfault occuring after the last X window was closed.
dev
Louis-Francis Ratté-Boulianne 12 years ago committed by Kristian Høgsberg
parent aac6021bc0
commit dce3dacc37
  1. 1
      src/xwayland/window-manager.c

@ -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…
Cancel
Save