Skip to content

Commit

Permalink
Don't be fooled by unclutter - the mouse isn't really leaving our window
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Sep 16, 2002
1 parent cedf930 commit 79d466c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/video/x11/SDL_x11events.c
Expand Up @@ -196,7 +196,8 @@ if ( xevent.xcrossing.mode == NotifyUngrab )
printf("Mode: NotifyUngrab\n");
#endif
if ( (xevent.xcrossing.mode != NotifyGrab) &&
(xevent.xcrossing.mode != NotifyUngrab) ) {
(xevent.xcrossing.mode != NotifyUngrab) &&
(xevent.xcrossing.detail != NotifyInferior) ) {
if ( this->input_grab == SDL_GRAB_OFF ) {
posted = SDL_PrivateAppActive(0, SDL_APPMOUSEFOCUS);
} else {
Expand Down

0 comments on commit 79d466c

Please sign in to comment.