[host] fix cursor visibility bug

This commit is contained in:
Geoffrey McRae 2018-10-09 17:52:13 +11:00
parent db907b1b67
commit ce4f1be2a6

View File

@ -420,6 +420,7 @@ unsigned int Capture::DXGI::Capture()
cursor.hasPos = true; cursor.hasPos = true;
cursor.x = m_lastCursorX = curPos.x; cursor.x = m_lastCursorX = curPos.x;
cursor.y = m_lastCursorY = curPos.y; cursor.y = m_lastCursorY = curPos.y;
cursor.visible = m_lastMouseVis;
} }
} }