src/video/x11/SDL_x11events.c
changeset 1789 01313c1a2bbe
parent 1784 45669d4efd02
child 1792 409974dedf2e
     1.1 --- a/src/video/x11/SDL_x11events.c	Tue May 09 07:16:38 2006 +0000
     1.2 +++ b/src/video/x11/SDL_x11events.c	Tue May 09 07:20:32 2006 +0000
     1.3 @@ -291,11 +291,10 @@
     1.4  		     (xevent.xcrossing.mode != NotifyUngrab) ) {
     1.5  			if ( this->input_grab == SDL_GRAB_OFF ) {
     1.6  				posted = SDL_PrivateAppActive(1, SDL_APPMOUSEFOCUS);
     1.7 -			} else {
     1.8 -				posted = SDL_PrivateMouseMotion(0, 0,
     1.9 -						xevent.xcrossing.x,
    1.10 -						xevent.xcrossing.y);
    1.11  			}
    1.12 +			posted = SDL_PrivateMouseMotion(0, 0,
    1.13 +					xevent.xcrossing.x,
    1.14 +					xevent.xcrossing.y);
    1.15  		}
    1.16  	    }
    1.17  	    break;