src/video/x11/SDL_x11events.c
changeset 1789 01313c1a2bbe
parent 1784 45669d4efd02
child 1792 409974dedf2e
--- a/src/video/x11/SDL_x11events.c	Tue May 09 07:16:38 2006 +0000
+++ b/src/video/x11/SDL_x11events.c	Tue May 09 07:20:32 2006 +0000
@@ -291,11 +291,10 @@
 		     (xevent.xcrossing.mode != NotifyUngrab) ) {
 			if ( this->input_grab == SDL_GRAB_OFF ) {
 				posted = SDL_PrivateAppActive(1, SDL_APPMOUSEFOCUS);
-			} else {
-				posted = SDL_PrivateMouseMotion(0, 0,
-						xevent.xcrossing.x,
-						xevent.xcrossing.y);
 			}
+			posted = SDL_PrivateMouseMotion(0, 0,
+					xevent.xcrossing.x,
+					xevent.xcrossing.y);
 		}
 	    }
 	    break;