mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-23 14:03:40 +00:00
[host] cosmetics
This commit is contained in:
parent
213c220d83
commit
3adcbfaa7d
@ -278,14 +278,7 @@ bool Service::Process()
|
|||||||
if (cursor.hasPos || cursor.hasShape)
|
if (cursor.hasPos || cursor.hasShape)
|
||||||
{
|
{
|
||||||
EnterCriticalSection(&m_cursorCS);
|
EnterCriticalSection(&m_cursorCS);
|
||||||
|
|
||||||
// bool hasPos = m_cursorInfo.hasPos || cursor.hasPos;
|
|
||||||
// bool hasShape = m_cursorInfo.hasShape || cursor.hasShape;
|
|
||||||
|
|
||||||
memcpy(&m_cursorInfo, &cursor, sizeof(struct CursorInfo));
|
memcpy(&m_cursorInfo, &cursor, sizeof(struct CursorInfo));
|
||||||
// m_cursorInfo.hasPos = hasPos;
|
|
||||||
// m_cursorInfo.hasShape = hasShape;
|
|
||||||
|
|
||||||
LeaveCriticalSection(&m_cursorCS);
|
LeaveCriticalSection(&m_cursorCS);
|
||||||
SetEvent(m_cursorEvent);
|
SetEvent(m_cursorEvent);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user