src/video/gem/SDL_gemevents.c
changeset 1267 fdc7ef6ecab4
parent 1237 a8068adf156b
child 1310 a201a8c62522
--- a/src/video/gem/SDL_gemevents.c	Wed Jan 25 18:11:56 2006 +0000
+++ b/src/video/gem/SDL_gemevents.c	Wed Jan 25 20:36:21 2006 +0000
@@ -382,13 +382,13 @@
 	}
 
 	/* Mouse motion ? */
-	if ((prevmousex!=mx) || (prevmousey!=my)) {
-		if (GEM_mouse_relative) {
-			if ((SDL_AtariXbios_mousex!=0) || (SDL_AtariXbios_mousey!=0)) {
-				SDL_PrivateMouseMotion(0, 1, SDL_AtariXbios_mousex, SDL_AtariXbios_mousey);
-				SDL_AtariXbios_mousex = SDL_AtariXbios_mousey = 0;
-			}
-		} else {
+	if (GEM_mouse_relative) {
+		if (SDL_AtariXbios_mousex || SDL_AtariXbios_mousey) {
+			SDL_PrivateMouseMotion(0, 1, SDL_AtariXbios_mousex, SDL_AtariXbios_mousey);
+			SDL_AtariXbios_mousex = SDL_AtariXbios_mousey = 0;
+		}
+	} else {
+		if ((prevmousex!=mx) || (prevmousey!=my)) {
 			int posx, posy;
 
 			/* Give mouse position relative to window position */