From e6cc99ff8717ab112fb49f8e3032169db218cf98 Mon Sep 17 00:00:00 2001 From: Lee Salzman Date: Mon, 13 Aug 2007 08:49:28 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1240 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/src/main.cpp b/source/src/main.cpp index eb9a2188..39db8492 100644 --- a/source/src/main.cpp +++ b/source/src/main.cpp @@ -456,6 +456,7 @@ int main(int argc, char **argv) case SDL_MOUSEMOTION: if(ignore) { ignore--; break; } + #ifndef WIN32 if(!(screen->flags&SDL_FULLSCREEN) && grabmouse) { #ifdef __APPLE__ @@ -464,7 +465,6 @@ int main(int argc, char **argv) if(event.motion.x == screen->w / 2 && event.motion.y == screen->h / 2) break; SDL_WarpMouse(screen->w / 2, screen->h / 2); } - #ifndef WIN32 if((screen->flags&SDL_FULLSCREEN) || grabmouse) #endif mousemove(event.motion.xrel, event.motion.yrel);