Blame SOURCES/0001-window-actor-Don-t-show-actor-until-meta_window_acto.patch

f15b50
From 24ddf60768412fd3f5f7b432449b9ed2ea0d18b3 Mon Sep 17 00:00:00 2001
f15b50
From: =?UTF-8?q?Jonas=20=C3=85dahl?= <jadahl@gmail.com>
f15b50
Date: Tue, 18 Feb 2020 23:01:28 +0100
f15b50
Subject: [PATCH] window-actor: Don't show actor until meta_window_actor_show()
f15b50
f15b50
By default clutter will show an actor as it is added to a parent. This
f15b50
means that after we create the window actor, when it's added to the
f15b50
window group, we implicitly show it. What we really want is to not show
f15b50
it until the window is supposed to be shown, which happens when
f15b50
meta_window_actor_show() is called, as showing prior to that, could
f15b50
cause issues.
f15b50
f15b50
Avoid the implicit show by setting the "show-on-set-parent" property on
f15b50
the window actor to `FALSE` on window actor construction.
f15b50
f15b50
https://gitlab.gnome.org/GNOME/mutter/merge_requests/1066
f15b50
---
f15b50
 src/compositor/compositor.c | 1 +
f15b50
 1 file changed, 1 insertion(+)
f15b50
f15b50
diff --git a/src/compositor/compositor.c b/src/compositor/compositor.c
f15b50
index a6ae55abb9..ce2c1b8a3b 100644
f15b50
--- a/src/compositor/compositor.c
f15b50
+++ b/src/compositor/compositor.c
f15b50
@@ -810,6 +810,7 @@ meta_compositor_add_window (MetaCompositor    *compositor,
f15b50
 
f15b50
   window_actor = g_object_new (window_actor_type,
f15b50
                                "meta-window", window,
f15b50
+                               "show-on-set-parent", FALSE,
f15b50
                                NULL);
f15b50
 
f15b50
   if (window->layer == META_LAYER_OVERRIDE_REDIRECT)
f15b50
-- 
f15b50
2.26.2
f15b50