[Spice-commits] gtk/spice-widget.c

Pavel Grunt pgrunt at kemper.freedesktop.org
Wed Feb 11 22:30:06 PST 2015


 gtk/spice-widget.c |    3 ---
 1 file changed, 3 deletions(-)

New commits:
commit 64084f372bf89153266bf3e732cefd521fe292ea
Author: Pavel Grunt <pgrunt at redhat.com>
Date:   Wed Feb 11 09:46:58 2015 +0100

    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.

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);


More information about the Spice-commits mailing list