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

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

diff -u --recursive --new-file v2.2.13/linux/drivers/char/busmouse.c linux/drivers/char/busmouse.c
@@ -210,7 +210,8 @@
 	buttons = mouse.buttons;
 	mouse.dx -= dx;
 	mouse.dy -= dy;
-	mouse.ready = 0;
+	if(mouse.dx==0 && mouse.dy==0)
+		mouse.ready = 0;
 	enable_irq(mouse_irq);
 	/* restore_flags(flags); */
 

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