weston/xwayland
Derek Foreman 9a0b2b54e2 xwm: Fix a weston crash when a window surface is created after unmap
If windows are created and quickly destroyed it's possible that they'll be
on the unpaired window list at the time of surface creation.  The surface
destroy listener for that surface isn't properly freed and a crash happens
some time later.

This patch removes the window from the unpaired list during unmap, so we
should never get to the destroy handler with a surface destroy listener set.

Just in case there's another path to that failure, I've also removed the
surface destroy listener in the destory handler.

Signed-off-by: Derek Foreman <derekf@osg.samsung.com>
Acked-by: Jasper St. Pierre <jstpierre@mecheye.net>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
2015-04-10 10:00:59 +03:00
..
dnd.c Don't include xserver-server-protocol.h 2014-04-07 09:46:27 -07:00
hash.c Move xwayland up one directory level 2013-12-04 10:20:02 -08:00
hash.h Move xwayland up one directory level 2013-12-04 10:20:02 -08:00
launcher.c xwayland: Clean up the WM properly if X server crashes 2014-08-27 14:49:16 +03:00
selection.c xwm: fix use after free 2015-01-29 17:09:29 -08:00
window-manager.c xwm: Fix a weston crash when a window surface is created after unmap 2015-04-10 10:00:59 +03:00
xwayland.h xwm: support maximizing xwayland windows 2015-02-02 16:00:10 -08:00