... instead of X11 API to initiate window movement by a window
manager. It works correctly when mouse events are synthesized from
touch events (requires releasing of touch sequences that relies on
Qt's internals and can be done only inside the xcb plugin).
Besides it should work on Wayland.
Note that now globalPos is used when creating QMouseEvent that
triggers window movement. Otherwise QMouseEvent will take it
from QCursor::pos() with integer coordinates received from the
X server, which may differ from coordinates rounded by Qt for
touch events.