This fixes the bug found by Axel (
http://lists.freedesktop.org/archives/wayland-devel/2013-September/011066.html
).
2013/9/17 Giulio Camuffo
> the unmap event will be followed by the deletion of the weston_surface,
> so the shell_surface will also be deleted by the shell. Having removed
> the
the unmap event will be followed by the deletion of the weston_surface,
so the shell_surface will also be deleted by the shell. Having removed
the surface_destroy_listener, the surface_destroy callback doesn't
get called, so reset the value of shsurf here.
---
src/xwayland/window-manager.c | 1 +