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

This reverts commit 6470240379.
This commit is contained in:
Jerry (Xinyu Hou) 2015-11-24 11:22:24 -08:00
parent dcc1c253b4
commit 6b2d051984

View File

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