Mercurial > sdl-ios-xcode
diff src/video/gem/SDL_gemmouse.c @ 1267:fdc7ef6ecab4
Correctly manage mouse relative motion
author | Patrice Mandin <patmandin@gmail.com> |
---|---|
date | Wed, 25 Jan 2006 20:36:21 +0000 |
parents | b8d311d90021 |
children | c9b51268668f |
line wrap: on
line diff
--- a/src/video/gem/SDL_gemmouse.c Wed Jan 25 18:11:56 2006 +0000 +++ b/src/video/gem/SDL_gemmouse.c Wed Jan 25 20:36:21 2006 +0000 @@ -165,8 +165,8 @@ void GEM_CheckMouseMode(_THIS) { /* If the mouse is hidden and input is grabbed, we use relative mode */ - if ( !(SDL_cursorstate & CURSOR_VISIBLE) && - (this->input_grab != SDL_GRAB_OFF) && + if ( (!(SDL_cursorstate & CURSOR_VISIBLE)) && + /*(this->input_grab != SDL_GRAB_OFF) && */ /* Damn GEM can not grab */ (SDL_GetAppState() & SDL_APPACTIVE) ) { GEM_mouse_relative = SDL_TRUE; } else {