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 5294

Summary: [PATCH] riscos: Fix off-by-one issues with mouse coordinates
Product: SDL Reporter: Cameron Cawley <ccawley2011>
Component: eventsAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 CC: sezeroz
Version: HG 1.2   
Hardware: ARM   
OS: RISC OS   
Attachments: riscos: Fix off-by-one issues with mouse coordinates

Description Cameron Cawley 2020-09-21 22:22:26 UTC
Created attachment 4466 [details]
riscos: Fix off-by-one issues with mouse coordinates

An off-by-one issue when reversing the Y coordinates can cause the mouse to warp out of bounds, causing it to not respond to further requests to warp the mouse when in full screen, or when using a desktop sized window.
Comment 1 Ozkan Sezer 2020-09-22 00:49:19 UTC
Patch is in, thanks: https://hg.libsdl.org/SDL/rev/1fa933bb11cf