mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
workspacesView: Always sync geometry after showing overview
We don't always want to sync the geometry when entering the overview, namely when the fade transition is used. However we do want the correct geometry once we have entered the overview, so that workspaces are at their place when switching from the app picker. https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1353
This commit is contained in:
parent
30ff76272e
commit
ef56b14553
1 changed files with 3 additions and 0 deletions
|
|
@ -381,6 +381,8 @@ class WorkspacesDisplay extends St.Widget {
|
|||
this._windowDragEndId =
|
||||
Main.overview.connect('window-drag-begin',
|
||||
this._windowDragEnd.bind(this));
|
||||
this._overviewShownId = Main.overview.connect('shown',
|
||||
this._syncWorkspacesActualGeometry.bind(this));
|
||||
|
||||
this._primaryIndex = Main.layoutManager.primaryIndex;
|
||||
this._workspacesViews = [];
|
||||
|
|
@ -433,6 +435,7 @@ class WorkspacesDisplay extends St.Widget {
|
|||
global.workspace_manager.disconnect(this._reorderWorkspacesdId);
|
||||
Main.overview.disconnect(this._windowDragBeginId);
|
||||
Main.overview.disconnect(this._windowDragEndId);
|
||||
Main.overview.disconnect(this._overviewShownId);
|
||||
}
|
||||
|
||||
_windowDragBegin() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue