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
- Lines: 10
- Date:
Tue Jan 4 10:12:14 2000
- Orig file:
v2.2.13/linux/drivers/char/msbusmouse.c
- Orig date:
Wed Dec 16 13:39:11 1998
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)