workaround for Fast cursor on any client with Mac server #451

This commit is contained in:
kahiroka 2015-06-17 00:04:39 +09:00 committed by Adam Potolsky
parent 5d399c3e61
commit 267f3ac41f
1 changed files with 1 additions and 0 deletions

View File

@ -846,6 +846,7 @@ OSXScreen::disable()
} }
if (m_eventTapPort) { if (m_eventTapPort) {
CGEventTapEnable(m_eventTapPort, false);
CFRelease(m_eventTapPort); CFRelease(m_eventTapPort);
m_eventTapPort = nullptr; m_eventTapPort = nullptr;
} }