mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-13 01:38:20 +00:00
[client] spice: fix failure to ungrab the kb with captureOnly
This commit is contained in:
parent
aa92a7a90d
commit
4113294d30
@ -1561,7 +1561,8 @@ static void setGrabQuiet(bool enable)
|
||||
{
|
||||
if (params.grabKeyboard)
|
||||
{
|
||||
if (!g_state.focused || !params.grabKeyboardOnFocus)
|
||||
if (!g_state.focused || !params.grabKeyboardOnFocus ||
|
||||
params.captureInputOnly)
|
||||
g_state.ds->ungrabKeyboard();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user