Alexandros Frantzis (@afrantzis) commented about dlls/winewayland.drv/wayland_pointer.c:
wayland_win_data_release(data);
- reapply_cursor_clipping();
The cursor clip reapplication involves some non-trivial overhead (call to wineserver -> send a message to the fg thread -> handle that message in the fg thread -> driver callback), so we should try to avoid performing it as often as every motion event. It's better if we set the position hint manually here, or even just ignore this case for now because we don't really support the compositor cancelling the lock on us anyway.