Notification time stamped 2021-03-31 17:02:11 UTC
From c5c77562b56024bfabf20cffad50e2c6dce7483b Mon Sep 17 00:00:00 2001
From: Michael Catanzaro <mcatanzaro(a)gnome.org>
Date: Mar 31 2021 17:01:59 +0000
Subject: Fix logo flickering
---
diff --git a/32.patch b/32.patch
new file mode 100644
index 0000000..d1d4dfc
--- /dev/null
+++ b/32.patch
@@ -0,0 +1,33 @@
+From 423119599c7a98dc51dda6e5260c992e21438d60 Mon Sep 17 00:00:00 2001
+From: Carlos Garnacho <carlosg(a)gnome.org>
+Date: Mar 31 2021 16:40:10 +0000
+Subject: extension: Do not relayout on scale changes
+
+
+This makes the background logo position flicker as we enter the
+overview. This actor is part of the BackgroundActor actor hierarchy,
+and can be left to scale neatly with it.
+
+Fixes:
https://bugzilla.redhat.com/show_bug.cgi?id=1943938
+
+---
+
+diff --git a/extension.js b/extension.js
+index d1bf35b..edf2868 100644
+--- a/extension.js
++++ b/extension.js
+@@ -25,13 +25,6 @@ var IconContainer = GObject.registerClass(
+ class IconContainer extends St.Widget {
+ _init(params) {
+ super._init(params);
+-
+- this.connect('notify::scale-x', () => {
+- this.queue_relayout();
+- });
+- this.connect('notify::scale-y', () => {
+- this.queue_relayout();
+- });
+ }
+
+ vfunc_get_preferred_width(forHeight) {
+
diff --git a/gnome-shell-extension-background-logo.spec
b/gnome-shell-extension-background-logo.spec
index 41176c3..358abf7 100644
--- a/gnome-shell-extension-background-logo.spec
+++ b/gnome-shell-extension-background-logo.spec
@@ -3,7 +3,7 @@
Name: gnome-shell-extension-background-logo
Version: 40.0~rc
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Background logo extension for GNOME Shell
License: GPLv2+
@@ -17,6 +17,9 @@ BuildRequires: git
Requires: gnome-shell >= %{shell_version}
+#
https://pagure.io/background-logo-extension/pull-request/32
+Patch0: 32.patch
+
%description
Show your pride! Display the Fedora logo (or any other graphic) in the corner of your
desktop.
@@ -36,6 +39,9 @@ Show your pride! Display the Fedora logo (or any other graphic) in the
corner of
%{_datadir}/gnome-shell/extensions/background-logo(a)fedorahosted.org/
%changelog
+* Wed Mar 31 2021 Michael Catanzaro <mcatanzaro(a)redhat.com> - 40.0~rc-2
+- Fix logo flickering
+
* Tue Mar 16 2021 Florian Müllner <fmuellner(a)redhat.com> - 40.0~rc-1
- Update to 40.rc
https://src.fedoraproject.org/rpms/gnome-shell-extension-background-logo/...