[gnome-shell/wip/rstrode/rhel-8.0.0: 48/50] background: rebuild background, not just animation on resume



commit b9a4340bc83b0a59c4ffc18b893bee7c0fdfe1a8
Author: Ray Strode <rstrode redhat com>
Date:   Tue Jan 15 12:52:49 2019 -0500

    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 b24f82536..c61d946a4 100644
--- a/js/ui/background.js
+++ b/js/ui/background.js
@@ -264,7 +264,7 @@ var Background = new Lang.Class({
             (lm, aboutToSuspend) => {
                 if (aboutToSuspend)
                     return;
-                this._refreshAnimation();
+                this.emit('changed');
             });
 
         this._settingsChangedSignalId = this._settings.connect('changed', () => {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]