mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-26 07:23:40 +00:00
[client] spice: zero the error accumulators when switching grab modes
This commit is contained in:
parent
8365419262
commit
3a29d1cf03
@ -1159,6 +1159,8 @@ static void setGrabQuiet(bool enable)
|
||||
return;
|
||||
|
||||
g_cursor.grab = enable;
|
||||
g_cursor.acc.x = 0.0;
|
||||
g_cursor.acc.y = 0.0;
|
||||
|
||||
if (enable)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user