[PATCH weston] xwayland: Remove transform listener when destroying the wm

Kristian Høgsberg hoegsberg at gmail.com
Thu Aug 15 14:38:58 PDT 2013


On Thu, Aug 15, 2013 at 01:22:06AM +0100, Daniel Stone wrote:
> Hi,
> 
> On 30 July 2013 00:15, Kristian Høgsberg <hoegsberg at gmail.com> wrote:
> > 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.
> 
> Did this get lost?

It's in master:

commit dce3dacc37ca834e482e2e53a86c3d1b2ca3087c
Author: Louis-Francis Ratté-Boulianne <louis-francis.ratte-boulianne at collabora.c
Date:   Sat Jul 20 05:16:45 2013 +0100

    xwayland: Remove transform listener when destroying the wm
    
    Fix a segfault occuring after the last X window was closed.

It's not in the 1.2 branch.  We'll cherry-pick over fixes from master
and cut a 1.2.1 release within the next week or so.

Kristian

> Cheers,
> Daniel
> 
> >>  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
> > _______________________________________________
> > 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