workspace: Update bg border radius in constructor

Otherwise non-zero initial value of stateAdjustment will produce
incorrect radius.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1964>
This commit is contained in:
Ivan Molodetskikh 2021-08-16 10:00:51 +03:00 committed by Marge Bot
parent 1d607cf18f
commit b21b43e318

View File

@ -962,6 +962,8 @@ class WorkspaceBackground extends St.Widget {
}); });
this._updateRoundedClipBounds(); this._updateRoundedClipBounds();
this._updateBorderRadius();
this.connect('destroy', this._onDestroy.bind(this)); this.connect('destroy', this._onDestroy.bind(this));
} }