forked from AuroraMiddleware/gtk
Merge branch 'bz773274' into 'master'
wayland: Don't paint if the window is unmapped See merge request GNOME/gtk!32
This commit is contained in:
commit
448d2502d9
@ -2521,6 +2521,7 @@ gdk_wayland_surface_hide_surface (GdkSurface *surface)
|
||||
unset_transient_for_exported (surface);
|
||||
|
||||
_gdk_wayland_surface_clear_saved_size (surface);
|
||||
drop_cairo_surfaces (surface);
|
||||
impl->pending_commit = FALSE;
|
||||
impl->mapped = FALSE;
|
||||
}
|
||||
@ -2796,7 +2797,6 @@ gdk_wayland_surface_destroy (GdkSurface *surface,
|
||||
g_return_if_fail (!foreign_destroy);
|
||||
|
||||
gdk_wayland_surface_hide_surface (surface);
|
||||
drop_cairo_surfaces (surface);
|
||||
|
||||
if (surface->parent == NULL)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user