SDL2 under OSX, cannot hide cursor

Hi,

I use a Mac OSX 10.7.5.
I used to run my game on SDL 1.2.
Now I compiled the latest SDL2 frameworks.
My game runs fine with SDL2 but I have a serious problem.

I cannot hide the mouse cursor in full screen mode (+window mode).
SDL_ShowCursor(SDL_DISABLE); is not working.
CGDisplayHideCursor(kCGDirectMainDisplay); is not working
SDL_SetCursor(bHidenCursor);is not working

[NSCursor hide]; crashes with this error:
libsystem_c.dylib`OSSpinLockLock$VARIANT$mp + 4:
0x9bf2ec14:A xorlA A %eax, %eax
0x9bf2ec16:A orlA A A $-1, %edx
0x9bf2ec19:A lock

When I run the game in SDL 1.2:
CGDisplayHideCursor(kCGDirectMainDisplay); Was working fine.
SDL_ShowCursor(SDL_DISABLE); did not work.

How can I disable my cursor while the game is in full screen?

Thanks
Giorgos

Sorry guys false alarm.
I confirm that SDL_ShowCursor(SDL_DISABLE); works.
I was using it before SDL_INIT, that is why it didnt work.

Giorgos
-------- IIII1IoI I 1/4 I®I 1/2 I*I 1/4 I± --------

         I*II 1/4 I+-: [SDL] SDL2 under OSX, cannot hide cursor   

II 1/4 IuII?I 1/4 I.I 1/2 I?I±: Wed, 28 Nov 2012 19:29:44 +0200
III*: Giorgos Sarris
III!I 1/2 II.II.: @Giorgos_Sarris, SDL Development List
III3I±I 1/2 I1II 1/4 II*: CrazySoft Limited
I II?I: sdl@lists.libsdl.org

Hi,

I use a Mac OSX 10.7.5.
I used to run my game on SDL 1.2.
Now I compiled the latest SDL2 frameworks.
My game runs fine with SDL2 but I have a serious problem.

I cannot hide the mouse cursor in full screen mode (+window mode).
SDL_ShowCursor(SDL_DISABLE); is not working.
CGDisplayHideCursor(kCGDirectMainDisplay); is not working
SDL_SetCursor(bHidenCursor);is not working

[NSCursor hide]; crashes with this error:
libsystem_c.dylib`OSSpinLockLock$VARIANT$mp + 4:
0x9bf2ec14:A* xorlA* A* %eax, %eax
0x9bf2ec16:A* orlA* A* A* $-1, %edx
0x9bf2ec19:A* lock

When I run the game in SDL 1.2:
CGDisplayHideCursor(kCGDirectMainDisplay); Was working fine.
SDL_ShowCursor(SDL_DISABLE); did not work.

How can I disable my cursor while the game is in full screen?

Thanks
Giorgos