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