fix: Enter screen on mac os asap to ensure event hand off

based on https://github.com/input-leap/input-leap/pull/2116
This commit is contained in:
sithlord48
2025-01-08 15:31:31 -05:00
committed by Nick Bolton
parent 74dcd9bd4e
commit 3875e41154

View File

@ -803,6 +803,7 @@ void OSXScreen::disable()
void OSXScreen::enter()
{
m_isOnScreen = true;
showCursor();
if (m_isPrimary) {
@ -822,9 +823,6 @@ void OSXScreen::enter()
avoidSupression();
}
// now on screen
m_isOnScreen = true;
}
bool OSXScreen::canLeave()