Changeset 15946 in vbox
- Timestamp:
- Jan 14, 2009 6:06:27 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/xmouse/xorg15/vboxmouse.c
r12587 r15946 56 56 #include <xf86Xinput.h> 57 57 #include <exevents.h> 58 #include <mipointer.h> 58 59 59 60 #include <xf86Module.h> … … 67 68 uint32_t cx, cy, fFeatures; 68 69 69 if (RT_SUCCESS(VbglR3GetMouseStatus(&fFeatures, &cx, &cy))) 70 /* The first test here is a workaround for an apparant bug in Xorg Server 1.5 */ 71 if ( miPointerGetScreen(pInfo->dev) != NULL 72 && RT_SUCCESS(VbglR3GetMouseStatus(&fFeatures, &cx, &cy))) 70 73 /* send absolute movement */ 71 74 xf86PostMotionEvent(pInfo->dev, 1, 0, 2, cx, cy);
Note:
See TracChangeset
for help on using the changeset viewer.