aboutsummaryrefslogtreecommitdiff
path: root/x11/XFree86-4-libraries/files/patch-mouse.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11/XFree86-4-libraries/files/patch-mouse.c')
-rw-r--r--x11/XFree86-4-libraries/files/patch-mouse.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/x11/XFree86-4-libraries/files/patch-mouse.c b/x11/XFree86-4-libraries/files/patch-mouse.c
deleted file mode 100644
index 11f7a5464154..000000000000
--- a/x11/XFree86-4-libraries/files/patch-mouse.c
+++ /dev/null
@@ -1,13 +0,0 @@
---- programs/Xserver/hw/xfree86/input/mouse/mouse.c.orig Wed Dec 19 16:05:22 2001
-+++ programs/Xserver/hw/xfree86/input/mouse/mouse.c Thu Jan 9 22:48:18 2003
-@@ -1505,8 +1505,8 @@
- dy = - ((char)(pBuf[2]) + (char)(pBuf[4]));
- /* FreeBSD sysmouse sends additional data bytes */
- if (pMse->protoPara[4] >= 8) {
-- dz = ((char)(pBuf[5] << 1) + (char)(pBuf[6] << 1)) / 2;
-- buttons |= (int)(~pBuf[7] & 0x07) << 3;
-+ dz = ((signed char)(pBuf[5] << 1) + (signed char)(pBuf[6] << 1)) >> 1;
-+ buttons |= (int)(~pBuf[7] & 0x7f) << 3;
- }
- break;
-