VirtualBox

Ignore:
Timestamp:
Jul 12, 2019 10:03:17 PM (5 years ago)
Author:
vboxsync
Message:

WDDM: correctly report mouse pointer visibility change in DxgkDdiSetPointerPosition

Location:
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPTypes.h

    r78190 r79746  
    9191{
    9292    uint32_t iLastReportedScreen;
    93     uint32_t cVisible;
    9493} VBOXWDDM_GLOBAL_POINTER_INFO, *PVBOXWDDM_GLOBAL_POINTER_INFO;
    9594
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPWddm.cpp

    r77343 r79746  
    44504450        if (!fScreenVisState)
    44514451        {
    4452             fVisStateChanged = !!pGlobalPointerInfo->cVisible;
    4453             ++pGlobalPointerInfo->cVisible;
     4452            fVisStateChanged = TRUE;
    44544453        }
    44554454    }
     
    44594458        if (fScreenVisState)
    44604459        {
    4461             --pGlobalPointerInfo->cVisible;
    4462             fVisStateChanged = !!pGlobalPointerInfo->cVisible;
     4460            fVisStateChanged = TRUE;
    44634461        }
    44644462    }
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