32 lines
1003 B
Diff
32 lines
1003 B
Diff
From 1a546d4df199f498b838efdccf081ada8ed1960b Mon Sep 17 00:00:00 2001
|
|
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
|
|
index 06e038816..75b76a57e 100644
|
|
--- a/js/ui/background.js
|
|
+++ b/js/ui/background.js
|
|
@@ -254,7 +254,7 @@ var Background = class Background {
|
|
(lm, aboutToSuspend) => {
|
|
if (aboutToSuspend)
|
|
return;
|
|
- this._refreshAnimation();
|
|
+ this.emit('changed');
|
|
});
|
|
|
|
this._settingsChangedSignalId = this._settings.connect('changed', () => {
|
|
--
|
|
2.21.0
|
|
|