1
0
Fork 0

window: Set the surface to NULL when unmanaging

This commit is contained in:
Jasper St. Pierre 2014-07-08 12:13:51 -04:00
parent 789608b637
commit 024652bfb4

View file

@ -1215,7 +1215,10 @@ meta_window_unmanage (MetaWindow *window,
/* This needs to happen for both Wayland and XWayland clients,
* so it can't be in MetaWindowWayland. */
if (window->surface)
{
meta_wayland_surface_set_window (window->surface, NULL);
window->surface = NULL;
}
if (window->visible_to_compositor)
{