Revert "[client] core: realign in the enter/focus handlers if possible"

This reverts commit 17617cc421.
This commit is contained in:
Geoffrey McRae
2021-08-19 23:19:59 +10:00
parent 17617cc421
commit c246b4a719
3 changed files with 41 additions and 47 deletions

View File

@@ -112,7 +112,7 @@ void app_handleFocusEvent(bool focused)
g_state.ds->minimize();
}
core_setGuestCursorPos();
g_cursor.realign = true;
g_state.ds->realignPointer();
}
@@ -124,7 +124,7 @@ void app_handleEnterEvent(bool entered)
if (!core_inputEnabled())
return;
core_setGuestCursorPos();
g_cursor.realign = true;
}
else
{