From b21b43e318006ae1848457b3f079b6bfae491757 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Mon, 16 Aug 2021 10:00:51 +0300 Subject: [PATCH] workspace: Update bg border radius in constructor Otherwise non-zero initial value of stateAdjustment will produce incorrect radius. Part-of: --- js/ui/workspace.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/ui/workspace.js b/js/ui/workspace.js index afdde824e..79d6cf146 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)); }