wayland: Ensure we keep our internal state when hiding a window with no surface

We need to keep track of the mapped variable here.
This commit is contained in:
Jasper St. Pierre 2013-09-16 18:36:18 -04:00
parent baa471ec13
commit 84e3aa016f

View File

@ -1123,8 +1123,9 @@ gdk_wayland_window_hide_surface (GdkWindow *window,
impl->shell_surface = NULL;
cairo_surface_destroy (impl->server_surface);
impl->server_surface = NULL;
impl->mapped = FALSE;
}
impl->mapped = FALSE;
}
static void