comparison src/video/gem/SDL_gemmouse.c @ 2020:091bb215baf9

Forgot to reshow mouse cursor when exiting grab/hide mode
author Patrice Mandin <patmandin@gmail.com>
date Fri, 08 Sep 2006 19:18:02 +0000
parents c121d94672cb
children 7312feb88dad
comparison
equal deleted inserted replaced
2019:d20f4510c718 2020:091bb215baf9
170 /*(this->input_grab != SDL_GRAB_OFF) && *//* Damn GEM can not grab */ 170 /*(this->input_grab != SDL_GRAB_OFF) && *//* Damn GEM can not grab */
171 (SDL_GetAppState() & SDL_APPACTIVE)) { 171 (SDL_GetAppState() & SDL_APPACTIVE)) {
172 GEM_mouse_relative = SDL_TRUE; 172 GEM_mouse_relative = SDL_TRUE;
173 } else { 173 } else {
174 GEM_mouse_relative = SDL_FALSE; 174 GEM_mouse_relative = SDL_FALSE;
175 graf_mouse(M_ON, NULL);
175 } 176 }
176 } 177 }
177 178
178 /* vi: set ts=4 sw=4 expandtab: */ 179 /* vi: set ts=4 sw=4 expandtab: */