author | Sam Lantinga <slouken@libsdl.org> |
Mon, 16 Sep 2002 07:09:04 +0000 | |
changeset 496 | 864a66f028d8 |
parent 495 | 4503f9475cf2 |
child 497 | bb2d68294e81 |
--- a/src/video/x11/SDL_x11events.c Mon Sep 16 06:50:26 2002 +0000 +++ b/src/video/x11/SDL_x11events.c Mon Sep 16 07:09:04 2002 +0000 @@ -196,7 +196,8 @@ 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 {