Blame SOURCES/0001-workspace-Pass-device-to-startDrag.patch

35159f
From 9115f6e7962b97c3ee2fbef7b195b7116e62c070 Mon Sep 17 00:00:00 2001
35159f
From: Carlos Garnacho <carlosg@gnome.org>
35159f
Date: Fri, 13 Dec 2019 18:14:51 +0100
35159f
Subject: [PATCH] workspace: Pass device to startDrag()
35159f
35159f
This is necessary to make DnD operations work from tablet devices on
35159f
wayland, as it's not the same onscreen pointer sprite than mice. Fixes
35159f
window DnD in the overview on tablet devices, no longer having them stick
35159f
to the wrong pointer.
35159f
35159f
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/897
35159f
---
35159f
 js/ui/workspace.js | 2 +-
35159f
 1 file changed, 1 insertion(+), 1 deletion(-)
35159f
35159f
diff --git a/js/ui/workspace.js b/js/ui/workspace.js
35159f
index 1e9bedc28..d470f7f40 100644
35159f
--- a/js/ui/workspace.js
35159f
+++ b/js/ui/workspace.js
35159f
@@ -431,7 +431,7 @@ var WindowClone = GObject.registerClass({
35159f
                     return;
35159f
                 let [x, y] = action.get_coords();
35159f
                 action.release();
35159f
-                this._draggable.startDrag(x, y, global.get_current_time(), this._dragTouchSequence);
35159f
+                this._draggable.startDrag(x, y, global.get_current_time(), this._dragTouchSequence, event.get_device());
35159f
             });
35159f
         } else {
35159f
             this.emit('show-chrome');
35159f
-- 
35159f
2.23.0
35159f