mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
workspace: Reapply border radius on background changes
The rounded corner effect is applied to the background actor, so
we have to reapply the correct values when the background changes
for the corners to persist.
https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4125
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2801>
(cherry picked from commit aa11d90693)
This commit is contained in:
parent
199b556b5d
commit
f5d8ad88ec
1 changed files with 5 additions and 0 deletions
|
|
@ -981,6 +981,11 @@ class WorkspaceBackground extends Shell.WorkspaceBackground {
|
|||
useContentSize: false,
|
||||
});
|
||||
|
||||
this._bgManager.connect('changed', () => {
|
||||
this._updateRoundedClipBounds();
|
||||
this._updateBorderRadius();
|
||||
});
|
||||
|
||||
global.display.connectObject('workareas-changed', () => {
|
||||
this._workarea = Main.layoutManager.getWorkAreaForMonitor(monitorIndex);
|
||||
this._updateRoundedClipBounds();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue