diff --git a/src/lib/platform/OSXScreen.cpp b/src/lib/platform/OSXScreen.cpp index f7e5f5db..bdd0a483 100644 --- a/src/lib/platform/OSXScreen.cpp +++ b/src/lib/platform/OSXScreen.cpp @@ -846,6 +846,7 @@ OSXScreen::disable() } if (m_eventTapPort) { + CGEventTapEnable(m_eventTapPort, false); CFRelease(m_eventTapPort); m_eventTapPort = nullptr; }