This helps tracking some send_keys() issues, such as https://bugzilla.gnome.org/show_bug.cgi?id=686170 --- gtk/spice-widget.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gtk/spice-widget.c b/gtk/spice-widget.c index 47afa40..391cd39 100644 --- a/gtk/spice-widget.c +++ b/gtk/spice-widget.c @@ -1192,6 +1192,9 @@ static guint get_scancode_from_keyval(SpiceDisplay *display, guint keyval) /* FIXME what about levels? */ keycode = keys[0].keycode; g_free(keys); + } else { + g_warning("could not lookup keyval %u, please report a bug", keyval); + return 0; } return vnc_display_keymap_gdk2xtkbd(d->keycode_map, d->keycode_maplen, keycode); -- 1.7.11.7 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel