[Spice-devel] [PATCH spice-gtk] widget: Send keys to guest when keyboard grab is released
Pavel Grunt
pgrunt at redhat.com
Wed Feb 11 01:07:38 PST 2015
Keys should be sent to the guest if the widget has the focus even
when the keyboard grab is released.
---
gtk/spice-widget.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/gtk/spice-widget.c b/gtk/spice-widget.c
index 147271c..1f7008a 100644
--- a/gtk/spice-widget.c
+++ b/gtk/spice-widget.c
@@ -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);
--
1.9.3
More information about the Spice-devel
mailing list