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 692 - SDl_ShowCursor(0) does not hide cursor in any mode
Summary: SDl_ShowCursor(0) does not hide cursor in any mode
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: events (show other bugs)
Version: HG 2.0
Hardware: x86 Linux
: P2 blocker
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
: 1098 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-02-05 08:46 UTC by Dmitri Vedenko
Modified: 2011-03-11 18:27 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitri Vedenko 2009-02-05 08:46:31 UTC
I'm using revision 4415 of SDL 1.3 library (with OpenGL) and expirience two bugs with mouse. Probably I'm doing something wrong, but anyway, here they are.

1. SDL_ShowCursor seems to have absolutely no effect in any combination of video/input grab mode
2. SDL_GrabInput(SDL_GRAB_ON) works only in full screen mode
Comment 1 Sam Lantinga 2009-02-16 22:09:37 UTC
Yes, cursor support isn't implemented yet.  This has to be fixed before a final release.
Comment 2 Sam Lantinga 2011-01-21 12:46:21 UTC
*** Bug 1098 has been marked as a duplicate of this bug. ***
Comment 3 Vern Jensen 2011-01-24 15:05:06 UTC
I'm running into this issue as well, except on MacOS X 10.6.6... SDL_ShowCursor(false) has no effect.

Given that this was reported Feb 2009, any hope of getting it implemented soon? If not, I'll work around. (Aiming for game release in 2 months.)
Comment 4 Sam Lantinga 2011-01-24 15:57:00 UTC
Yes, I'm planning to spend a couple of days this week on the cursor code.
Comment 5 Sam Lantinga 2011-03-11 18:27:20 UTC
This is fixed in the latest snapshot:
http://www.libsdl.org/tmp/SDL-1.3.zip