[client] spice: zero the error accumulators when switching grab modes

This commit is contained in:
Geoffrey McRae 2021-01-12 11:49:27 +11:00
parent 8365419262
commit 3a29d1cf03

View File

@ -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)
{