[PATCH weston] xwayland: Remove transform listener when destroying the wm
Kristian Høgsberg
hoegsberg at gmail.com
Mon Jul 29 16:15:28 PDT 2013
On Sat, Jul 20, 2013 at 05:16:45AM +0100, Louis-Francis Ratté-Boulianne wrote:
> Fix a segfault occuring after the last X window was closed.
Thanks, that looks good.
Kristian
> src/xwayland/window-manager.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/src/xwayland/window-manager.c b/src/xwayland/window-manager.c
> index fd91004..57a5d99 100644
> --- a/src/xwayland/window-manager.c
> +++ b/src/xwayland/window-manager.c
> @@ -2043,6 +2043,7 @@ weston_wm_destroy(struct weston_wm *wm)
> wl_list_remove(&wm->selection_listener.link);
> wl_list_remove(&wm->activate_listener.link);
> wl_list_remove(&wm->kill_listener.link);
> + wl_list_remove(&wm->transform_listener.link);
>
> free(wm);
> }
> --
> 1.7.10.4
>
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
More information about the wayland-devel
mailing list