Skip to content
Permalink
Browse files

Don't be fooled by unclutter - the mouse isn't really leaving our window

  • Loading branch information
slouken committed Sep 16, 2002
1 parent cedf930 commit 79d466c49dbc6624ccebf91dc18a63f8bd085376

File 1 of 1 in 79d466c

@@ -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 {

0 comments on commit 79d466c

Please sign in to comment.