src/video/gem/SDL_gemwm.c
branchSDL-1.2
changeset 3859 5d14acfdf84d
parent 1402 d910939febfa
child 4159 a1b03ba2fcd0
equal deleted inserted replaced
3858:9ffd318e7b64 3859:5d14acfdf84d
   106 	return 1;
   106 	return 1;
   107 }
   107 }
   108 
   108 
   109 SDL_GrabMode GEM_GrabInput(_THIS, SDL_GrabMode mode)
   109 SDL_GrabMode GEM_GrabInput(_THIS, SDL_GrabMode mode)
   110 {
   110 {
   111 	return SDL_GRAB_OFF;
   111 	if (this->screen == NULL) {
       
   112 		return SDL_GRAB_OFF;
       
   113 	}
       
   114 
       
   115 	return mode;
   112 }
   116 }