Changeset 13835 in vbox for trunk/src/VBox/Additions/x11/xmouse
- Timestamp:
- Nov 5, 2008 2:34:43 AM (16 years ago)
- Location:
- trunk/src/VBox/Additions/x11/xmouse
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/xmouse/VBoxUtils.c
r9252 r13835 56 56 57 57 rc = VbglR3SetMouseStatus(VBOXGUEST_MOUSE_GUEST_CAN_ABSOLUTE /* | VBOXGUEST_MOUSE_GUEST_NEEDS_HOST_CURSOR */); 58 if ( VBOX_FAILURE(rc))58 if (RT_FAILURE(rc)) 59 59 { 60 60 ErrorF("Error sending mouse pointer capabilities to VMM! rc = %d (%s)\n", -
trunk/src/VBox/Additions/x11/xmouse/VBoxUtils_68.c
r10562 r13835 44 44 45 45 rc = VbglR3SetMouseStatus(VBOXGUEST_MOUSE_GUEST_CAN_ABSOLUTE | VBOXGUEST_MOUSE_GUEST_NEEDS_HOST_CURSOR); 46 if ( VBOX_FAILURE(rc))46 if (RT_FAILURE(rc)) 47 47 { 48 48 ErrorF("Error sending mouse pointer capabilities to VMM! rc = %d (%s)\n", … … 64 64 AssertPtrReturn(puAbsYPos, VERR_INVALID_PARAMETER); 65 65 rc = VbglR3GetMouseStatus(NULL, &pointerXPos, &pointerYPos); 66 if ( VBOX_SUCCESS(rc))66 if (RT_SUCCESS(rc)) 67 67 { 68 68 *puAbsXPos = pointerXPos; … … 150 150 if (ioctl(g_vboxaddHandle, VBOXGUEST_IOCTL_VMMREQUEST(vmmdevGetRequestSize(VMMDevReq_GetMouseStatus)), (void*)g_vmmreqMouseStatus) >= 0) 151 151 { 152 if ( VBOX_SUCCESS(g_vmmreqMouseStatus->header.rc))152 if (RT_SUCCESS(g_vmmreqMouseStatus->header.rc)) 153 153 { 154 154 /* does the host want absolute coordinates? */
Note:
See TracChangeset
for help on using the changeset viewer.