mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-01-23 12:08:10 +00:00
[client] spice: flag the cursor as inView unconditionally in capture
This commit is contained in:
parent
526572c9c9
commit
b0f2a2e39f
1 changed files with 3 additions and 0 deletions
|
@ -1147,6 +1147,9 @@ static void setGrab(bool enable)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (g_cursor.grab)
|
||||||
|
g_cursor.inView = true;
|
||||||
|
|
||||||
/* if exiting grab move the pointer back to the center of the window */
|
/* if exiting grab move the pointer back to the center of the window */
|
||||||
if (!g_cursor.grab && g_cursor.inWindow)
|
if (!g_cursor.grab && g_cursor.inWindow)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue