View | Details | Raw Unified | Return to bug 150090
Collapse All | Expand All

(-)src/video/x11/SDL_x11events.c (-2 / +4 lines)
Lines 441-448 Link Here
441
if ( xevent.xcrossing.mode == NotifyUngrab )
441
if ( xevent.xcrossing.mode == NotifyUngrab )
442
printf("Mode: NotifyUngrab\n");
442
printf("Mode: NotifyUngrab\n");
443
#endif
443
#endif
444
		if ( xevent.xcrossing.detail != NotifyInferior ) {
444
		if ( (xevent.xcrossing.mode != NotifyGrab) &&
445
			if ( this->input_grab == SDL_GRAB_OFF ) {
445
		     (xevent.xcrossing.mode != NotifyUngrab) &&
446
		     (xevent.xcrossing.detail != NotifyInferior) ) {
447
              		if ( this->input_grab == SDL_GRAB_OFF ) {
446
				posted = SDL_PrivateAppActive(0, SDL_APPMOUSEFOCUS);
448
				posted = SDL_PrivateAppActive(0, SDL_APPMOUSEFOCUS);
447
			} else {
449
			} else {
448
				posted = SDL_PrivateMouseMotion(0, 0,
450
				posted = SDL_PrivateMouseMotion(0, 0,

Return to bug 150090