Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Oops, I committed debug code...
  • Loading branch information
Sam Lantinga committed Jul 9, 2001
1 parent 6953e49 commit abe017a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/video/x11/SDL_x11wm.c
Expand Up @@ -250,11 +250,9 @@ SDL_GrabMode X11_GrabInputNoLock(_THIS, SDL_GrabMode mode)
return(mode); /* Will be set later on mode switch */
}
if ( mode == SDL_GRAB_OFF ) {
printf("SDL grab OFF\n");
XUngrabPointer(SDL_Display, CurrentTime);
XUngrabKeyboard(SDL_Display, CurrentTime);
} else {
printf("SDL grab ON\n");
if ( this->screen->flags & SDL_FULLSCREEN ) {
/* Unbind the mouse from the fullscreen window */
XUngrabPointer(SDL_Display, CurrentTime);
Expand Down

0 comments on commit abe017a

Please sign in to comment.