mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
workspace: Pass device to startDrag()
This is necessary to make DnD operations work from tablet devices on wayland, as it's not the same onscreen pointer sprite than mice. Fixes window DnD in the overview on tablet devices, no longer having them stick to the wrong pointer. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/897
This commit is contained in:
parent
0223d38602
commit
9115f6e796
1 changed files with 1 additions and 1 deletions
|
|
@ -431,7 +431,7 @@ var WindowClone = GObject.registerClass({
|
||||||
return;
|
return;
|
||||||
let [x, y] = action.get_coords();
|
let [x, y] = action.get_coords();
|
||||||
action.release();
|
action.release();
|
||||||
this._draggable.startDrag(x, y, global.get_current_time(), this._dragTouchSequence);
|
this._draggable.startDrag(x, y, global.get_current_time(), this._dragTouchSequence, event.get_device());
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
this.emit('show-chrome');
|
this.emit('show-chrome');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue