mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-04-26 16:46:28 +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;
|
return;
|
||||||
|
|
||||||
g_cursor.grab = enable;
|
g_cursor.grab = enable;
|
||||||
|
g_cursor.acc.x = 0.0;
|
||||||
|
g_cursor.acc.y = 0.0;
|
||||||
|
|
||||||
if (enable)
|
if (enable)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user