this should lessen the effects of annoying GUI mouse kwirks

This commit is contained in:
theoddone33
2001-04-27 02:09:29 +00:00
parent c39b4decfb
commit dbf68872a9

View File

@@ -504,6 +504,7 @@ int startgame(void)
return FALSE;
}
SurfaceLocking = SDL_MUSTLOCK(surface);
SDL_WarpMouse(0,0);
// Grab mouse in fullscreen mode
FullScreen ? SDL_WM_GrabInput(SDL_GRAB_ON) : SDL_WM_GrabInput(SDL_GRAB_OFF);