Commit 024652bf authored by Jasper St. Pierre's avatar Jasper St. Pierre
Browse files

window: Set the surface to NULL when unmanaging

parent 789608b6
......@@ -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);
meta_wayland_surface_set_window (window->surface, NULL);
window->surface = NULL;
if (window->visible_to_compositor)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment