VirtualBox

Ignore:
Timestamp:
Jan 28, 2008 4:57:39 AM (17 years ago)
Author:
vboxsync
Message:

Build fix... vboxvideo is still shared.

File:
1 edited

Legend:

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

    r6484 r6519  
    479479        pVBox->reqp = p;
    480480        pVBox->pCurs = NULL;
    481         pVBox->use_hw_cursor = vbox_host_can_hwcursor(pScrn, pVBox);
    482         pVBox->set_pointer_shape_size = size;
    483         pVBox->pointer_offscreen = FALSE;
     481        pVBox->useHwCursor = vbox_host_can_hwcursor(pScrn, pVBox);
     482        pVBox->pointerHeaderSize = size;
     483        pVBox->pointerOffscreen = FALSE;
    484484        pVBox->useVbva = vboxInitVbva(scrnIndex, pScreen, pVBox);
    485485    } else {
     
    558558    if (((x < 0) || (x > pScrn->pScreen->width))
    559559        || ((y < 0) || (y > pScrn->pScreen->height))) {
    560         if (!pVBox->pointer_offscreen) {
    561             pVBox->pointer_offscreen = TRUE;
     560        if (!pVBox->pointerOffscreen) {
     561            pVBox->pointerOffscreen = TRUE;
    562562            vbox_vmm_hide_cursor (pScrn, pVBox);
    563563        }
    564564    }
    565565    else {
    566         if (pVBox->pointer_offscreen) {
    567             pVBox->pointer_offscreen = FALSE;
     566        if (pVBox->pointerOffscreen) {
     567            pVBox->pointerOffscreen = FALSE;
    568568            vbox_vmm_show_cursor (pScrn, pVBox);
    569569        }
     
    604604    ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum];
    605605    VBOXPtr pVBox = pScrn->driverPrivate;
    606     return pVBox->use_hw_cursor;
     606    return pVBox->useHwCursor;
    607607}
    608608
     
    642642    size_mask = ((dst_pitch * h) + 3) & (size_t) ~3;
    643643    size_rgba = w * h * 4;
    644     size      = size_mask + size_rgba + pVBox->set_pointer_shape_size;
     644    size      = size_mask + size_rgba + pVBox->pointerHeaderSize;
    645645
    646646    p = c = xcalloc (1, size);
     
    780780            bitsp->xhot, bitsp->yhot, w, h);
    781781
    782     size = w * h * 4 + pVBox->set_pointer_shape_size + mask_size;
     782    size = w * h * 4 + pVBox->pointerHeaderSize + mask_size;
    783783    p = xcalloc (1, size);
    784784    if (!p)
     
    847847    Bool rc;
    848848
    849     if (pVBox->use_hw_cursor)
     849    if (pVBox->useHwCursor)
    850850    {
    851851        xf86DrvMsg(pScrn->scrnIndex, X_INFO,
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