Blame SOURCES/0002-background-rebuild-background-not-just-animation-on-.patch
|
|
671c89 |
From 1a546d4df199f498b838efdccf081ada8ed1960b Mon Sep 17 00:00:00 2001
|
|
|
671c89 |
From: Ray Strode <rstrode@redhat.com>
|
|
|
671c89 |
Date: Tue, 15 Jan 2019 12:52:49 -0500
|
|
|
671c89 |
Subject: [PATCH 2/4] background: rebuild background, not just animation on
|
|
|
671c89 |
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
|
|
|
671c89 |
index 06e038816..75b76a57e 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 |
|
|
|
671c89 |
this._settingsChangedSignalId = this._settings.connect('changed', () => {
|
|
|
671c89 |
--
|
|
|
671c89 |
2.21.0
|
|
|
671c89 |
|