VirtualBox

Changeset 5711 in vbox


Ignore:
Timestamp:
Nov 12, 2007 3:13:06 PM (17 years ago)
Author:
vboxsync
Message:

VMMDev must check if the guest actually provided the mouse pointer shape.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/VMMDev/VBoxDev.cpp

    r5040 r5711  
    664664                Log(("VMMDevReq_SetPointerShape: visible: %d, alpha: %d, shape = %d, width: %d, height: %d\n",
    665665                     fVisible, fAlpha, fShape, pointerShape->width, pointerShape->height));
     666
     667                if (pRequestHeader->size == sizeof(VMMDevReqMousePointer))
     668                {
     669                    /* The guest did not provide the shape actually. */
     670                    fShape = false;
     671                }
    666672
    667673                /* forward call to driver */
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