mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-04 01:34:13 +00:00
[client] spice: fix failure to ungrab the kb with captureOnly
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user