mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-25 23:07:18 +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 cursorPos;
|
||||||
POINT cursorRect;
|
POINT cursorRect;
|
||||||
cursorPos.x = m_pointerPos.x - m_shapeInfo.HotSpot.x;
|
cursorPos.x = m_pointerPos.x;
|
||||||
cursorPos.y = m_pointerPos.y - m_shapeInfo.HotSpot.y;
|
cursorPos.y = m_pointerPos.y;
|
||||||
cursorRect.x = m_shapeInfo.Width;
|
cursorRect.x = m_shapeInfo.Width;
|
||||||
cursorRect.y = m_shapeInfo.Height;
|
cursorRect.y = m_shapeInfo.Height;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user