Blame SOURCES/0002-background-rebuild-background-not-just-animation-on-.patch
|
|
6f08de |
From f27c4224aa96975ae44641612f5fff3772f5c294 Mon Sep 17 00:00:00 2001
|
|
|
6f08de |
From: rpm-build <rpm-build>
|
|
|
6f08de |
Date: Mon, 22 Aug 2022 13:06:05 +0200
|
|
|
6f08de |
Subject: [PATCH] [PATCH 2/4] background: rebuild background, not just
|
|
|
6f08de |
animation on resume
|
|
|
671c89 |
|
|
|
671c89 |
Previously, we would only refresh the animation on resume
|
|
|
671c89 |
(to handle clock skew).
|
|
|
671c89 |
|
|
|
671c89 |
But we actually need to rebuild the background, too, on nvidia,
|
|
|
671c89 |
so we should just do a full background change.
|
|
|
671c89 |
---
|
|
|
671c89 |
js/ui/background.js | 2 +-
|
|
|
671c89 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
671c89 |
|
|
|
671c89 |
diff --git a/js/ui/background.js b/js/ui/background.js
|
|
|
6f08de |
index 2a404ae..dd11e3e 100644
|
|
|
671c89 |
--- a/js/ui/background.js
|
|
|
671c89 |
+++ b/js/ui/background.js
|
|
|
671c89 |
@@ -254,7 +254,7 @@ var Background = class Background {
|
|
|
671c89 |
(lm, aboutToSuspend) => {
|
|
|
671c89 |
if (aboutToSuspend)
|
|
|
671c89 |
return;
|
|
|
671c89 |
- this._refreshAnimation();
|
|
|
671c89 |
+ this.emit('changed');
|
|
|
671c89 |
});
|
|
|
671c89 |
|
|
|
6f08de |
this._settingsChangedSignalId =
|
|
|
671c89 |
--
|
|
|
6f08de |
2.35.3
|
|
|
671c89 |
|