mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-10 08:38:20 +00:00
[client] overlay: realign cursor when turning off overlay
This is only done in non-capture mode to avoid messing up games.
This commit is contained in:
parent
96fa8891c8
commit
71901414d1
@ -668,5 +668,11 @@ void core_updateOverlayState(void)
|
||||
core_setGrabQuiet(wasGrabbed);
|
||||
core_invalidatePointer(true);
|
||||
app_invalidateWindow(false);
|
||||
|
||||
if (!g_cursor.grab)
|
||||
{
|
||||
g_cursor.realign = true;
|
||||
core_handleMouseNormal(0, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user