VirtualBox

Changeset 59307 in vbox


Ignore:
Timestamp:
Jan 11, 2016 11:37:12 AM (9 years ago)
Author:
vboxsync
Message:

bugref:8183: Mouse Integration sometimes not working after restore from saved state: fix a mishandling of the guest cursor shape protocol in the graphics device. When the guest sends a cursor shape event with the visible flag set but no shape data, the value of the alpha flag should be ignored. We were indeed ignoring it, but still saving its (usually incorrect) value to the device context, overwriting the old value, and from there to the saved state.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/DevVGA_VBVA.cpp

    r59169 r59307  
    767767    pCtx->mouseShapeInfo.fSet = true;
    768768    pCtx->mouseShapeInfo.fVisible = fVisible;
    769     pCtx->mouseShapeInfo.fAlpha = fAlpha;
    770769    if (fShape)
    771770    {
     
    775774        pCtx->mouseShapeInfo.u32Width = parms.u32Width;
    776775        pCtx->mouseShapeInfo.u32Height = parms.u32Height;
     776        pCtx->mouseShapeInfo.fAlpha = fAlpha;
    777777
    778778        /* Reallocate memory buffer if necessary. */
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