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

This reverts commit 6470240379c896ee13ee98b9a8c951d22f4351c1.
This commit is contained in:
Jerry (Xinyu Hou) 2015-11-24 11:22:24 -08:00 committed by Xinyu Hou
parent 6f904e55f1
commit 2fb36c4f86
1 changed files with 1 additions and 0 deletions

View File

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