This is exemplified in KAS (easy to see in the calculator example):
CursorMoved and CursorLeft events are received but not otherwise; other than as reported here this appears to be sufficientCursorMovedTouchPhase::Moved), X11 visually moves the mouse cursor, but my app does not receive CursorMoved eventsResult: pressing a button with the finger and dragging off of it results in the start button being highlighted (because the app believes the mouse is hovering over it) and the button under the finger being highlighted (because the app highlights all drags).
I guess this is an X11 bug. What's your experience with issues like this?
It should be straightforward to have winit report a CursorMoved event in addition to Touch events on X11. I wonder, though, is there any possible configuration in which X11 does not move the mouse when a touch event occurs? We wouldn't want to falsely report CursorMoved in this case.
I'm not sure what the answer to that is. In theory whether touch events move the mouse should be configurable, but I haven't found out how.
I also tested Wayland where touch events do not move the mouse, thus this issue doesn't occur (probably the case on most platforms).
I've submitted PR #1297 to address this issue.
Most helpful comment
I've submitted PR #1297 to address this issue.