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 2866

Summary: testrelative.c: patch to make the orange box wrap around
Product: SDL Reporter: Eric Wasylishen <ewasylishen>
Component: *don't know*Assignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: enhancement    
Priority: P2 CC: philipp.wiesemann
Version: HG 2.0   
Hardware: All   
OS: All   
Attachments: enhancement to the test app

Description Eric Wasylishen 2015-02-05 04:52:25 UTC
Created attachment 2020 [details]
enhancement to the test app

Here's a patch to make the 'testrelative' demo program more useful: it just makes the orange rectangle wrap around. Previously, the orange cursor would just disappear off screen if you move the mouse a lot in one direction, so it was hard to tell if relative mouse mode was still working.
Comment 1 Philipp Wiesemann 2015-02-07 21:50:56 UTC
Thank you for the patch. It was applied:
https://hg.libsdl.org/SDL/rev/de02c2d8a06f