# HG changeset patch # User Sam Lantinga # Date 1032160144 0 # Node ID 864a66f028d8311cc9c9296c3ea9aeb40ba3ca96 # Parent 4503f9475cf2d79c2855dcd556403873592eacd8 Don't be fooled by unclutter - the mouse isn't really leaving our window diff -r 4503f9475cf2 -r 864a66f028d8 src/video/x11/SDL_x11events.c --- 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 {