[gnome-shell/wip/rstrode/login-screen-extensions: 128/134] background: rebuild background, not just animation on resume




commit 8f197131993bae84c4b93f6e78e51baf1ca92f90
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 06e0388167..75b76a57eb 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', () => {


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