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 +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..bd9489c 100644 --- a/gnome-shell-extension-background-logo.spec +++ b/gnome-shell-extension-background-logo.spec @@ -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@fedorahosted.org/ %changelog +* Wed Mar 31 2021 Michael Catanzaro - 40.0~rc-2 +- Fix logo flickering + * Tue Mar 16 2021 Florian Müllner - 40.0~rc-1 - Update to 40.rc