Comment 7 for bug 1966635

Revision history for this message
jeremyszu (os369510) wrote (last edit ):

After some checks, it seems because data_device_start_drag() doesn't support MetaWaylandTouch.

The fix will impact the mutter architecture and it's more likely a feature request in mutter so far.
It can be workaround by either sync MetaWaylandPointer motion and MetaWaylandTouch when meta_wayland_seat_update() or meta_wayland_seat_handle_event() with some tweaks. or some changes in meta_wayland_data_device_start_drag().

As maintainer mentions[1] the drag feature is refactoring

part.1: https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2068
part.2: https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2099
part.3: https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2100

and this issue might be fixed in part.5...

For both workaround look not suitable with the maintainer's design.
I prefer to wait until the refactoring completed by maintainer.

[1] https://gitlab.gnome.org/GNOME/mutter/-/issues/2393#note_1532698