We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 5154 - SDL_MOUSEMOTIONEVENT: non-zero xrel/yrel with immobile mouse
Summary: SDL_MOUSEMOTIONEVENT: non-zero xrel/yrel with immobile mouse
Status: NEW
Alias: None
Product: SDL
Classification: Unclassified
Component: events (show other bugs)
Version: 2.0.12
Hardware: x86 Windows 10
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-23 08:31 UTC by ga.taillon
Modified: 2020-05-23 08:31 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ga.taillon 2020-05-23 08:31:07 UTC
With immobile mouse, the SDL_MOUSEMOTION event's xrel/yrel values are sometimes nonzero, even though the mouse is immobile. This can be verified by checking the event's x/y values, which do not change while the xrel/yrel values are nonzero.