[gnome-shell/gnome-40] workspace: Update bg border radius in constructor



commit 6a5d7e00cc6381be34a90be3fee80682b44d15f7
Author: Ivan Molodetskikh <yalterz gmail com>
Date:   Mon Aug 16 10:00:51 2021 +0300

    workspace: Update bg border radius in constructor
    
    Otherwise non-zero initial value of stateAdjustment will produce
    incorrect radius.
    
    (cherry picked from commit b21b43e318006ae1848457b3f079b6bfae491757)
    
    Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1982>

 js/ui/workspace.js | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/js/ui/workspace.js b/js/ui/workspace.js
index afdde824e1..79d6cf146b 100644
--- a/js/ui/workspace.js
+++ b/js/ui/workspace.js
@@ -962,6 +962,8 @@ class WorkspaceBackground extends St.Widget {
             });
         this._updateRoundedClipBounds();
 
+        this._updateBorderRadius();
+
         this.connect('destroy', this._onDestroy.bind(this));
     }
 


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