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

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