Commit a09df57a authored by Matthias Clasen's avatar Matthias Clasen

Merge branch 'gtk-3-22-bz773274' into 'gtk-3-22'

wayland: Don't paint if the window is unmapped

See merge request GNOME/gtk!31
parents b0f8426c 3bd7b379
......@@ -3088,6 +3088,7 @@ gdk_wayland_window_hide_surface (GdkWindow *window)
unset_transient_for_exported (window);
_gdk_wayland_window_clear_saved_size (window);
drop_cairo_surfaces (window);
impl->pending_commit = FALSE;
impl->mapped = FALSE;
......@@ -3404,7 +3405,6 @@ gdk_wayland_window_destroy (GdkWindow *window,
g_return_if_fail (!foreign_destroy);
gdk_wayland_window_hide_surface (window);
drop_cairo_surfaces (window);
static void
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