gnome-shell/SOURCES/0002-background-rebuild-bac...

32 lines
956 B
Diff
Raw Permalink Normal View History

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