[gnome-shell/gnome-3-36] workspacesView: Fix copy-paste error
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/gnome-3-36] workspacesView: Fix copy-paste error
- Date: Sun, 27 Dec 2020 21:22:18 +0000 (UTC)
commit 8e7e933288579ee73a5034d798380e48a6f589fe
Author: Ivan Molodetskikh <yalterz gmail com>
Date: Sun Dec 27 19:33:34 2020 +0000
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>
(cherry picked from commit c401759c1a4d3767cb7f9f93f3a8d8191c8f1664)
js/ui/workspacesView.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/js/ui/workspacesView.js b/js/ui/workspacesView.js
index ae9be2bfd9..2eaed99808 100644
--- a/js/ui/workspacesView.js
+++ b/js/ui/workspacesView.js
@@ -433,7 +433,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._primaryIndex = Main.layoutManager.primaryIndex;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]