Blame SOURCES/0002-background-rebuild-background-not-just-animation-on-.patch

35159f
From 1a546d4df199f498b838efdccf081ada8ed1960b Mon Sep 17 00:00:00 2001
35159f
From: Ray Strode <rstrode@redhat.com>
35159f
Date: Tue, 15 Jan 2019 12:52:49 -0500
35159f
Subject: [PATCH 2/4] background: rebuild background, not just animation on
35159f
 resume
35159f
35159f
Previously, we would only refresh the animation on resume
35159f
(to handle clock skew).
35159f
35159f
But we actually need to rebuild the background, too, on nvidia,
35159f
so we should just do a full background change.
35159f
---
35159f
 js/ui/background.js | 2 +-
35159f
 1 file changed, 1 insertion(+), 1 deletion(-)
35159f
35159f
diff --git a/js/ui/background.js b/js/ui/background.js
35159f
index 06e038816..75b76a57e 100644
35159f
--- a/js/ui/background.js
35159f
+++ b/js/ui/background.js
35159f
@@ -254,7 +254,7 @@ var Background = class Background {
35159f
             (lm, aboutToSuspend) => {
35159f
                 if (aboutToSuspend)
35159f
                     return;
35159f
-                this._refreshAnimation();
35159f
+                this.emit('changed');
35159f
             });
35159f
 
35159f
         this._settingsChangedSignalId = this._settings.connect('changed', () => {
35159f
-- 
35159f
2.21.0
35159f