-
Notifications
You must be signed in to change notification settings - Fork 948
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Windows] request_redraw example continuously generates spurious CursorMoved event #1428
Comments
Can't reproduce on Windows 10. |
I confirm the issue on Windows 7. And found this: https://devblogs.microsoft.com/oldnewthing/20031001-00/?p=42343 But what I am seeing is a CursorMoved every 1 second approximately which the above does not really explain. |
Found the cause : http://debugandconquer.blogspot.com/2015/08/the-cause-of-spurious-mouse-move.html I confirmed that, on Windows 7, having the Task Manager open will trigger those spurious events. So we have to expect spurious WM_MOUSEMOVE messages and handle them. |
Found another case: just clicking a mouse button will generate a CursorMoved event even if the mouse pointer was not moved. |
On master, run the request_redraw example and keep the mouse pointer inside the window.
This will continuously generate a CursorMoved event.
Note that the position is always the same.
The text was updated successfully, but these errors were encountered: