From 3adcbfaa7d82a531a13056253a3e9ffab26f1c32 Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Thu, 24 May 2018 18:08:59 +1000 Subject: [PATCH] [host] cosmetics --- host/Service.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/host/Service.cpp b/host/Service.cpp index 57c80aca..1b3bef6d 100644 --- a/host/Service.cpp +++ b/host/Service.cpp @@ -278,14 +278,7 @@ bool Service::Process() if (cursor.hasPos || cursor.hasShape) { EnterCriticalSection(&m_cursorCS); - -// bool hasPos = m_cursorInfo.hasPos || cursor.hasPos; -// bool hasShape = m_cursorInfo.hasShape || cursor.hasShape; - memcpy(&m_cursorInfo, &cursor, sizeof(struct CursorInfo)); -// m_cursorInfo.hasPos = hasPos; -// m_cursorInfo.hasShape = hasShape; - LeaveCriticalSection(&m_cursorCS); SetEvent(m_cursorEvent); }