[gnome-shell/wip/texture-purge-on-nvidia: 2/3] background: rebuild background, not just animation on resume



commit 68c631223c75b46c7f5fc159b6a3f212a38fbada
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]