Revert "Revert "workaround for Fast cursor on any client with Mac server #451""
This reverts commit 6470240379c896ee13ee98b9a8c951d22f4351c1.
This commit is contained in:
parent
6f904e55f1
commit
2fb36c4f86
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue