mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-04-24 23:56:26 +00:00
[vendor] Fixed DXGI mouse flicker/dissapear when there is no activity
This commit is contained in:
parent
dfa2a5809a
commit
dba6720724
3
vendor/DXGICapture/DXGIManager.cpp
vendored
3
vendor/DXGICapture/DXGIManager.cpp
vendored
@ -97,7 +97,8 @@ HRESULT DXGIOutputDuplication::AcquireNextFrame(IDXGISurface1** pDXGISurface, DX
|
||||
|
||||
*pDXGISurface = spDXGISurface.Detach();
|
||||
|
||||
if (pDXGIPointer)
|
||||
|
||||
if (pDXGIPointer && fi.LastMouseUpdateTime.QuadPart != 0)
|
||||
pDXGIPointer->GetFrameInfo().PointerPosition.Visible = fi.PointerPosition.Visible;
|
||||
|
||||
// Updating mouse pointer, if visible
|
||||
|
Loading…
x
Reference in New Issue
Block a user