From dbf68872a9ea9e50e31af8f761ce6adc505d1676 Mon Sep 17 00:00:00 2001 From: theoddone33 <> Date: Fri, 27 Apr 2001 02:09:29 +0000 Subject: [PATCH] this should lessen the effects of annoying GUI mouse kwirks --- zsnes/src/linux/sdllink.c | 1 + 1 file changed, 1 insertion(+) diff --git a/zsnes/src/linux/sdllink.c b/zsnes/src/linux/sdllink.c index 87cbbbe6..85cb2b23 100644 --- a/zsnes/src/linux/sdllink.c +++ b/zsnes/src/linux/sdllink.c @@ -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);