Bugzilla – Attachment 262531 Details for
Bug 444747
vboxmouse: Driver is broken
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
[patch]
vboxmouse.diff
vboxmouse.diff (text/plain), 2.62 KB, created by
Stefan Dirsch
on 2008-12-27 22:46:02 UTC
(
hide
)
Description:
vboxmouse.diff
Filename:
MIME Type:
Creator:
Stefan Dirsch
Created:
2008-12-27 22:46:02 UTC
Size:
2.62 KB
patch
obsolete
>diff -u -r -p src/VBox/Additions/x11/xmouse.orig//mouse.c src/VBox/Additions/x11/xmouse/mouse.c >--- src/VBox/Additions/x11/xmouse.orig//mouse.c 2008-12-27 23:21:49.000000000 +0100 >+++ src/VBox/Additions/x11/xmouse/mouse.c 2008-12-27 23:22:25.000000000 +0100 >@@ -1618,8 +1618,18 @@ MouseProc(DeviceIntPtr device, int what) > > InitPointerDeviceStruct((DevicePtr)device, map, > min(pMse->buttons, MSE_MAXBUTTONS), >- miPointerGetMotionEvents, pMse->Ctrl, >- miPointerGetMotionBufferSize()); >+#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) == 0 >+ miPointerGetMotionEvents, >+#elif GET_ABI_MAJOR(ABI_XINPUT_VERSION) < 3 >+ GetMotionHistory, >+#endif >+ pMse->Ctrl, >+#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) == 0 >+ miPointerGetMotionBufferSize() >+#else >+ GetMotionHistorySize(), 2 >+#endif >+ ); > > /* X valuator */ > xf86InitValuatorAxisStruct(device, 0, 0, -1, 1, 0, 1); >diff -u -r -p src/VBox/Additions/x11/xmouse.orig//xorg70/mouse.c src/VBox/Additions/x11/xmouse/xorg70/mouse.c >--- src/VBox/Additions/x11/xmouse.orig//xorg70/mouse.c 2008-12-27 23:21:49.000000000 +0100 >+++ src/VBox/Additions/x11/xmouse/xorg70/mouse.c 2008-12-27 23:22:50.000000000 +0100 >@@ -1749,8 +1749,18 @@ MouseProc(DeviceIntPtr device, int what) > > InitPointerDeviceStruct((DevicePtr)device, map, > min(pMse->buttons, MSE_MAXBUTTONS), >- miPointerGetMotionEvents, pMse->Ctrl, >- miPointerGetMotionBufferSize()); >+#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) == 0 >+ miPointerGetMotionEvents, >+#elif GET_ABI_MAJOR(ABI_XINPUT_VERSION) < 3 >+ GetMotionHistory, >+#endif >+ pMse->Ctrl, >+#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) == 0 >+ miPointerGetMotionBufferSize() >+#else >+ GetMotionHistorySize(), 2 >+#endif >+ ); > > /* X valuator */ > xf86InitValuatorAxisStruct(device, 0, 0, -1, 1, 0, 1); >diff -u -r -p src/VBox/Additions/x11/xmouse.orig//xorg71/mouse.c src/VBox/Additions/x11/xmouse/xorg71/mouse.c >--- src/VBox/Additions/x11/xmouse.orig//xorg71/mouse.c 2008-12-27 23:21:49.000000000 +0100 >+++ src/VBox/Additions/x11/xmouse/xorg71/mouse.c 2008-12-27 23:22:55.000000000 +0100 >@@ -1761,8 +1761,18 @@ MouseProc(DeviceIntPtr device, int what) > > InitPointerDeviceStruct((DevicePtr)device, map, > min(pMse->buttons, MSE_MAXBUTTONS), >- miPointerGetMotionEvents, pMse->Ctrl, >- miPointerGetMotionBufferSize()); >+#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) == 0 >+ miPointerGetMotionEvents, >+#elif GET_ABI_MAJOR(ABI_XINPUT_VERSION) < 3 >+ GetMotionHistory, >+#endif >+ pMse->Ctrl, >+#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) == 0 >+ miPointerGetMotionBufferSize() >+#else >+ GetMotionHistorySize(), 2 >+#endif >+ ); > > /* X valuator */ > xf86InitValuatorAxisStruct(device, 0, 0, -1, 1, 0, 1);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 444747
:
252154
|
252155
| 262531 |
262890
|
262896
|
267351
|
270524