workspacesView: Queue relayout when overview adjustment value change
The overview adjustment quite significantly impacts the layout of SecondaryMonitorDisplay(), and this needs to be accounted for by queueing a relayout. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1845>
This commit is contained in:
parent
81210f5846
commit
0ed1a363a3
@ -627,7 +627,10 @@ class SecondaryMonitorDisplay extends St.Widget {
|
|||||||
() => this._updateThumbnailVisibility());
|
() => this._updateThumbnailVisibility());
|
||||||
|
|
||||||
this._stateChangedId = this._overviewAdjustment.connect('notify::value',
|
this._stateChangedId = this._overviewAdjustment.connect('notify::value',
|
||||||
() => this._updateThumbnailParams());
|
() => {
|
||||||
|
this._updateThumbnailParams();
|
||||||
|
this.queue_relayout();
|
||||||
|
});
|
||||||
|
|
||||||
this._settings = new Gio.Settings({ schema_id: MUTTER_SCHEMA });
|
this._settings = new Gio.Settings({ schema_id: MUTTER_SCHEMA });
|
||||||
this._settings.connect('changed::workspaces-only-on-primary',
|
this._settings.connect('changed::workspaces-only-on-primary',
|
||||||
|
Loading…
Reference in New Issue
Block a user