mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-10-15 20:08:17 +00:00
[client] core: realign in the enter/focus handlers if possible
This commit is contained in:
@@ -112,7 +112,7 @@ void app_handleFocusEvent(bool focused)
|
||||
g_state.ds->minimize();
|
||||
}
|
||||
|
||||
g_cursor.realign = true;
|
||||
core_setGuestCursorPos();
|
||||
g_state.ds->realignPointer();
|
||||
}
|
||||
|
||||
@@ -124,7 +124,7 @@ void app_handleEnterEvent(bool entered)
|
||||
if (!core_inputEnabled())
|
||||
return;
|
||||
|
||||
g_cursor.realign = true;
|
||||
core_setGuestCursorPos();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user