src/video/gem/SDL_gemevents.c
changeset 919 4b1dd7691f05
parent 769 b8d311d90021
child 922 7b920743ce57
equal deleted inserted replaced
918:17822f1f9674 919:4b1dd7691f05
   300 	if ((prevmousex!=mx) || (prevmousey!=my)) {
   300 	if ((prevmousex!=mx) || (prevmousey!=my)) {
   301 		if (GEM_mouse_relative) {
   301 		if (GEM_mouse_relative) {
   302 			SDL_PrivateMouseMotion(0, 1, SDL_AtariXbios_mousex, SDL_AtariXbios_mousey);
   302 			SDL_PrivateMouseMotion(0, 1, SDL_AtariXbios_mousex, SDL_AtariXbios_mousey);
   303 			SDL_AtariXbios_mousex = SDL_AtariXbios_mousey = 0;
   303 			SDL_AtariXbios_mousex = SDL_AtariXbios_mousey = 0;
   304 		} else {
   304 		} else {
   305 			SDL_PrivateMouseMotion(0, 1, mx, my);
   305 			SDL_PrivateMouseMotion(0, 0, mx, my);
   306 		}
   306 		}
   307 		prevmousex = mx;
   307 		prevmousex = mx;
   308 		prevmousey = my;
   308 		prevmousey = my;
   309 	}
   309 	}
   310 
   310