workspacesView: Fix copy-paste error
Calling both window-drag handlers on drag begin messes up our tracking, and prevents the swipe tracker from being disabled during drag operations. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1551>
This commit is contained in:
parent
3f49c886fa
commit
c401759c1a
@ -394,7 +394,7 @@ class WorkspacesDisplay extends St.Widget {
|
||||
Main.overview.connect('window-drag-begin',
|
||||
this._windowDragBegin.bind(this));
|
||||
this._windowDragEndId =
|
||||
Main.overview.connect('window-drag-begin',
|
||||
Main.overview.connect('window-drag-end',
|
||||
this._windowDragEnd.bind(this));
|
||||
this._overviewShownId = Main.overview.connect('shown', () => {
|
||||
this._inWindowFade = false;
|
||||
|
Loading…
Reference in New Issue
Block a user