this should lessen the effects of annoying GUI mouse kwirks
This commit is contained in:
@@ -504,6 +504,7 @@ int startgame(void)
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
SurfaceLocking = SDL_MUSTLOCK(surface);
|
SurfaceLocking = SDL_MUSTLOCK(surface);
|
||||||
|
SDL_WarpMouse(0,0);
|
||||||
|
|
||||||
// Grab mouse in fullscreen mode
|
// Grab mouse in fullscreen mode
|
||||||
FullScreen ? SDL_WM_GrabInput(SDL_GRAB_ON) : SDL_WM_GrabInput(SDL_GRAB_OFF);
|
FullScreen ? SDL_WM_GrabInput(SDL_GRAB_ON) : SDL_WM_GrabInput(SDL_GRAB_OFF);
|
||||||
|
|||||||
Reference in New Issue
Block a user