[gnome-shell/gnome-3-38] workspacesView: Fix copy-paste error



commit 3a343a8aad28543d10cbb3159c4bf03a619eea0d
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 cccd447e26..4a11f08889 100644
--- a/js/ui/workspacesView.js
+++ b/js/ui/workspacesView.js
@@ -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;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]