Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 290695
Collapse All | Expand All

(-)SDL-1.2.14/src/video/x11/SDL_x11events.c.orig (-5 / +8 lines)
Lines 423-434 Link Here
423
if ( xevent.xcrossing.mode == NotifyUngrab )
423
if ( xevent.xcrossing.mode == NotifyUngrab )
424
printf("Mode: NotifyUngrab\n");
424
printf("Mode: NotifyUngrab\n");
425
#endif
425
#endif
426
		if ( this->input_grab == SDL_GRAB_OFF ) {
426
		if ( (xevent.xcrossing.mode != NotifyGrab) &&
427
			posted = SDL_PrivateAppActive(1, SDL_APPMOUSEFOCUS);
427
		     (xevent.xcrossing.mode != NotifyUngrab) ) {
428
			if ( this->input_grab == SDL_GRAB_OFF ) {
429
				posted = SDL_PrivateAppActive(1, SDL_APPMOUSEFOCUS);
430
			}
431
			posted = SDL_PrivateMouseMotion(0, 0,
432
					xevent.xcrossing.x,
433
					xevent.xcrossing.y);
428
		}
434
		}
429
		posted = SDL_PrivateMouseMotion(0, 0,
430
				xevent.xcrossing.x,
431
				xevent.xcrossing.y);
432
	    }
435
	    }
433
	    break;
436
	    break;
434
437

Return to bug 290695