Changeset 6547 in vbox for trunk/src/VBox/Additions/x11
- Timestamp:
- Jan 29, 2008 12:58:28 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/xgraphics/vboxutils-new.c
r6539 r6547 652 652 if ((bitsp->xhot > w) || (bitsp->yhot > h)) 653 653 RETERROR(scrnIndex, , 654 "Error invalid cursor hotspot location %dx%d (max %dx%d)\n",655 bitsp->xhot, bitsp->yhot, w, h);654 "Error invalid cursor hotspot location %dx%d (max %dx%d)\n", 655 bitsp->xhot, bitsp->yhot, w, h); 656 656 657 657 pVBox->pointerSize = w * h * 4 + sizeMask; … … 660 660 if (!p) 661 661 RETERROR(scrnIndex, , 662 "Error failed to alloc %lu bytes for cursor\n", 663 (unsigned long) sizeRequest); 664 662 "Error failed to alloc %lu bytes for cursor\n", 663 (unsigned long)sizeRequest); 664 665 /** @todo r=bird: The VbglR3SetPointerShape API and this code seems to 666 * end up doing the stuff twice, at least wrt memory. It would make much 667 * more sense to have a VbglR3SetPointerShape version which took a 668 * VMMDevReqMousePointer pointer instead. Sorry for not spotting this 669 * the first time around. */ 665 670 reqp = (VMMDevReqMousePointer *)p; 666 671 *reqp = *pVBox->reqp;
Note:
See TracChangeset
for help on using the changeset viewer.