Changeset 57345 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Aug 14, 2015 9:58:20 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/vboxmouse/vboxmouse.c
r55401 r57345 186 186 break; 187 187 /* Tell the host that we want absolute co-ordinates */ 188 rc = VbglR3SetMouseStatus( VMMDEV_MOUSE_GUEST_CAN_ABSOLUTE 189 | VMMDEV_MOUSE_NEW_PROTOCOL); 188 rc = VbglR3GetMouseStatus(&fFeatures, NULL, NULL); 189 fFeatures &= VMMDEV_MOUSE_GUEST_NEEDS_HOST_CURSOR; 190 if (RT_SUCCESS(rc)) 191 rc = VbglR3SetMouseStatus( fFeatures 192 | VMMDEV_MOUSE_GUEST_CAN_ABSOLUTE 193 | VMMDEV_MOUSE_NEW_PROTOCOL); 190 194 if (!RT_SUCCESS(rc)) { 191 195 xf86Msg(X_ERROR, "%s: Failed to switch guest mouse into absolute mode\n", … … 201 205 xf86Msg(X_INFO, "%s: Off.\n", pInfo->name); 202 206 rc = VbglR3GetMouseStatus(&fFeatures, NULL, NULL); 207 fFeatures &= VMMDEV_MOUSE_GUEST_NEEDS_HOST_CURSOR; 203 208 if (RT_SUCCESS(rc)) 204 209 rc = VbglR3SetMouseStatus( fFeatures
Note:
See TracChangeset
for help on using the changeset viewer.