2019-11-05 19:43:42 +00:00
|
|
|
From 1a546d4df199f498b838efdccf081ada8ed1960b Mon Sep 17 00:00:00 2001
|
2019-05-07 12:23:00 +00:00
|
|
|
From: Ray Strode <rstrode@redhat.com>
|
|
|
|
Date: Tue, 15 Jan 2019 12:52:49 -0500
|
|
|
|
Subject: [PATCH 2/4] background: rebuild background, not just animation on
|
|
|
|
resume
|
|
|
|
|
|
|
|
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
|
2019-11-05 19:43:42 +00:00
|
|
|
index 06e038816..75b76a57e 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');
|
|
|
|
});
|
|
|
|
|
|
|
|
this._settingsChangedSignalId = this._settings.connect('changed', () => {
|
|
|
|
--
|
2019-11-05 19:43:42 +00:00
|
|
|
2.21.0
|
2019-05-07 12:23:00 +00:00
|
|
|
|