VirtualBox

Changeset 10562 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jul 12, 2008 1:22:00 AM (16 years ago)
Author:
vboxsync
Message:

r=bird: Still calling ioctl, Michael fix it!

Location:
trunk/src/VBox/Additions/x11
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/xgraphics/vboxutils_68.c

    r10555 r10562  
    122122    }
    123123#else
     124    /** @todo r=bird: Michael, I thought we decided a long time ago that all these should be replaced by VbglR3. I assume this is just a leftover... */
    124125    err = ioctl (pVBox->vbox_fd, VBOXGUEST_IOCTL_VMMREQUEST(0), hdrp);
    125126#endif
     
    149150        xf86DrvMsg(pScrn->scrnIndex, X_ERROR,
    150151            "Unable to determine whether the virtual machine supports mouse pointer integration - request initialization failed with return code %d\n", rc);
     152/** @todo r=bird: Michael, ditto. */
    151153    if (   RT_SUCCESS(vrc)
    152         && (ioctl(pVBox->vbox_fd, VBOXGUEST_IOCTL_VMMREQUEST(0), (void*)&req) < 0))
     154        && (ioctl(pVBox->vbox_fd, VBOXGUEST_IOCTL_VMMREQUEST(sizeof(req)), (void*)&req) < 0))
    153155    {
    154156        vrc = VERR_FILE_IO_ERROR;
     
    819821    memset (pm, 0xFF, mask_size);
    820822
    821     /** 
     823    /**
    822824     * The additions driver must provide the AND mask for alpha cursors. The host frontend
    823825     * which can handle alpha channel, will ignore the AND mask and draw an alpha cursor.
  • trunk/src/VBox/Additions/x11/xmouse/VBoxUtils_68.c

    r10561 r10562  
    122122    req.pointerXPos = 0;
    123123    req.pointerYPos = 0;
     124/** @todo r=bird: Michael, I thought we decided a long time ago that all these should be replaced by VbglR3. I assume this is just a leftover... */
    124125    if (ioctl(g_vboxaddHandle, VBOXGUEST_IOCTL_VMMREQUEST(sizeof(req)), (void*)&req) < 0)
    125126    {
     
    146147        return 1;
    147148    /* perform VMM request */
     149/** @todo r=bird: Michael, ditto. */
    148150    if (ioctl(g_vboxaddHandle, VBOXGUEST_IOCTL_VMMREQUEST(vmmdevGetRequestSize(VMMDevReq_GetMouseStatus)), (void*)g_vmmreqMouseStatus) >= 0)
    149151    {
     
    181183    req.pointerXPos = 0;
    182184    req.pointerYPos = 0;
     185/** @todo r=bird: Michael, ditto. */
    183186    if (ioctl(g_vboxaddHandle, VBOXGUEST_IOCTL_VMMREQUEST(sizeof(req)), (void*)&req) < 0)
    184187    {
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