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

Summary: SDL_MOUSEMOTIONEVENT: non-zero xrel/yrel with immobile mouse
Product: SDL Reporter: ga.taillon
Component: eventsAssignee: Sam Lantinga <slouken>
Status: NEW --- QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: 2.0.12   
Hardware: x86   
OS: Windows 10   

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.