patch-2.2.14 linux/drivers/char/msbusmouse.c

Next file: linux/drivers/char/mxser.c
Previous file: linux/drivers/char/moxa.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.13/linux/drivers/char/msbusmouse.c linux/drivers/char/msbusmouse.c
@@ -157,7 +157,8 @@
 		put_user(0x00, buffer + i);
 	mouse.dx -= dx;
 	mouse.dy += dy;
-	mouse.ready = 0;
+	if(mouse.dx == 0 && mouse.dy == 0)
+		mouse.ready = 0;
 	return i;	
 }
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)