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 - testrelative.c: patch to make the orange box wrap around
Summary: testrelative.c: patch to make the orange box wrap around
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: *don't know* (show other bugs)
Version: HG 2.0
Hardware: All All
: P2 enhancement
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-05 04:52 UTC by Eric Wasylishen
Modified: 2015-02-07 21:50 UTC (History)
1 user (show)

See Also:


Attachments
enhancement to the test app (906 bytes, patch)
2015-02-05 04:52 UTC, Eric Wasylishen
Details | Diff

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