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:
@ -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()
|
||||
|
||||
Reference in New Issue
Block a user