[SDL] problems with hidden mousepointer

Sam Lantinga slouken at devolution.com
Sun Aug 5 10:42:02 PDT 2001

> I'm using SDL for mouse input to control the view of the player in a 3D
> environment. I've hidden the mouse cursor but now the problem is that when I
> move the mouse to much downward then my windows bar appears and the SDL
> window looses focus and doesn't respond to mouse input. Only when I mouse
> the mouse back up again and press a mousebutton than I regain control.

Grab the input with SDL_WM_GrabInput()

See ya,
	-Sam Lantinga, Software Engineer, Blizzard Entertainment

More information about the SDL mailing list