[PATCH weston] xwm: reset the surface and shsurf field on surface destruction

2013-09-11 Thread Giulio Camuffo
we may still get events from x, so by setting those fields to NULL we make sure we don't try to use destroyed objects. --- src/xwayland/window-manager.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/xwayland/window-manager.c b/src/xwayland/window-manager.c index e1f26f6..912553e

Re: [PATCH weston] xwm: reset the surface and shsurf field on surface destruction

2013-09-11 Thread Giulio Camuffo
Ignore this one, i made a bit of mess with rebase. Sorry for the noise 2013/9/11 Giulio Camuffo giuliocamu...@gmail.com we may still get events from x, so by setting those fields to NULL we make sure we don't try to use destroyed objects. --- src/xwayland/window-manager.c | 3 +++ 1