[PATCH spice-gtk] widget: Send keys to guest when keyboard grab is released

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]