summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2013-05-16 17:15:47 +0200
committerMarc-André Lureau <marcandre.lureau@redhat.com>2013-05-16 17:15:47 +0200
commit4e42727c18abe6e406e1c90fb6da312f04d8285f (patch)
tree6ba52b8282f191f1483768d31914ee8efb068c2c
parent8b669a331156d6234ffddcca16eeaf369970c804 (diff)
widget: remove grab key filter
The widget currently filters out last key press from grab key sequence if it's not a modifier key. But this will prevent nested usage of ungrab combinations such as shift+f12. https://bugzilla.redhat.com/show_bug.cgi?id=889962 This will also make the following obsolete: https://bugzilla.redhat.com/show_bug.cgi?id=846005
-rw-r--r--gtk/spice-widget.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/gtk/spice-widget.c b/gtk/spice-widget.c
index 4f74380..4c67e26 100644
--- a/gtk/spice-widget.c
+++ b/gtk/spice-widget.c
@@ -1321,11 +1321,6 @@ static gboolean key_event(GtkWidget *widget, GdkEventKey *key)
else
try_mouse_grab(display);
}
-
- // that's the last key pressed from the grab sequence
- // let send it to the remote if it's a modifier key
- if (!key->is_modifier)
- return true;
}
if (!d->inputs)