mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-10 08:38:20 +00:00
[host] fixed DXGI cursor offset
This commit is contained in:
parent
3d462928a6
commit
8c8d0ec7af
@ -375,8 +375,8 @@ GrabStatus DXGI::GrabFrame(FrameInfo & frame)
|
||||
|
||||
POINT cursorPos;
|
||||
POINT cursorRect;
|
||||
cursorPos.x = m_pointerPos.x - m_shapeInfo.HotSpot.x;
|
||||
cursorPos.y = m_pointerPos.y - m_shapeInfo.HotSpot.y;
|
||||
cursorPos.x = m_pointerPos.x;
|
||||
cursorPos.y = m_pointerPos.y;
|
||||
cursorRect.x = m_shapeInfo.Width;
|
||||
cursorRect.y = m_shapeInfo.Height;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user