Changeset 18307 in vbox for trunk/src/VBox
- Timestamp:
- Mar 26, 2009 12:18:35 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/vboxvideo/vboxutils.c
r17318 r18307 465 465 rc = VbglR3SetPointerShapeReq(pVBox->reqp); 466 466 if (RT_FAILURE(rc)) 467 { 467 468 xf86DrvMsg(pScrn->scrnIndex, X_ERROR, "Could not hide the virtual mouse pointer.\n"); 469 /* Play safe, and disable the hardware cursor until the next mode 470 * switch, since obviously something happened that we didn't 471 * anticipate. */ 472 pVBox->forceSWCursor = TRUE; 473 } 468 474 } 469 475 … … 477 483 pVBox->reqp->fFlags = VBOX_MOUSE_POINTER_VISIBLE; 478 484 rc = VbglR3SetPointerShapeReq(pVBox->reqp); 479 if (RT_FAILURE(rc)) 485 if (RT_FAILURE(rc)) { 480 486 xf86DrvMsg(pScrn->scrnIndex, X_ERROR, "Could not unhide the virtual mouse pointer.\n"); 487 /* Play safe, and disable the hardware cursor until the next mode 488 * switch, since obviously something happened that we didn't 489 * anticipate. */ 490 pVBox->forceSWCursor = TRUE; 491 } 481 492 } 482 493 } … … 496 507 497 508 rc = VbglR3SetPointerShapeReq(reqp); 498 if (RT_FAILURE(rc)) 509 if (RT_FAILURE(rc)) { 499 510 xf86DrvMsg(pScrn->scrnIndex, X_ERROR, "Unable to set the virtual mouse pointer image.\n"); 511 /* Play safe, and disable the hardware cursor until the next mode 512 * switch, since obviously something happened that we didn't 513 * anticipate. */ 514 pVBox->forceSWCursor = TRUE; 515 } 500 516 } 501 517
Note:
See TracChangeset
for help on using the changeset viewer.