Commit 64084f37 authored by Pavel Grunt's avatar Pavel Grunt
Browse files

widget: Send keys to guest when keyboard grab is released

Keys should be sent to the guest if the widget has the focus even
when the keyboard grab is released.
parent 744632f9
......@@ -1200,9 +1200,6 @@ static void send_key(SpiceDisplay *display, int scancode, SendKeyType type, gboo
if (d->disable_inputs)
return;
if (d->keyboard_grab_released)
return;
i = scancode / 32;
b = scancode % 32;
m = (1 << b);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment