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 - [PATCH] riscos: Fix off-by-one issues with mouse coordinates
Summary: [PATCH] riscos: Fix off-by-one issues with mouse coordinates
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: events (show other bugs)
Version: HG 1.2
Hardware: ARM RISC OS
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-21 22:22 UTC by Cameron Cawley
Modified: 2020-09-22 00:49 UTC (History)
1 user (show)

See Also:


Attachments
riscos: Fix off-by-one issues with mouse coordinates (5.03 KB, patch)
2020-09-21 22:22 UTC, Cameron Cawley
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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