Fix logo flickering
This commit is contained in:
parent
b18db35c86
commit
34839235ca
33
32.patch
Normal file
33
32.patch
Normal file
@ -0,0 +1,33 @@
|
||||
From 423119599c7a98dc51dda6e5260c992e21438d60 Mon Sep 17 00:00:00 2001
|
||||
From: Carlos Garnacho <carlosg@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) {
|
||||
|
@ -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 <mcatanzaro@redhat.com> - 40.0~rc-2
|
||||
- Fix logo flickering
|
||||
|
||||
* Tue Mar 16 2021 Florian Müllner <fmuellner@redhat.com> - 40.0~rc-1
|
||||
- Update to 40.rc
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user