forked from AuroraMiddleware/gtk
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:
parent
baa471ec13
commit
84e3aa016f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user