VirtualBox

Changeset 6547 in vbox for trunk/src/VBox/Additions/x11


Ignore:
Timestamp:
Jan 29, 2008 12:58:28 AM (17 years ago)
Author:
vboxsync
Message:

Another VbglR3SetPointerShape todo.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/xgraphics/vboxutils-new.c

    r6539 r6547  
    652652    if ((bitsp->xhot > w) || (bitsp->yhot > h))
    653653        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);
    656656
    657657    pVBox->pointerSize = w * h * 4 + sizeMask;
     
    660660    if (!p)
    661661        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. */
    665670    reqp = (VMMDevReqMousePointer *)p;
    666671    *reqp = *pVBox->reqp;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette