aboutsummaryrefslogtreecommitdiff
path: root/ui/gtk.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2018-03-21 14:50:36 +0100
committerGerd Hoffmann <kraxel@redhat.com>2018-04-09 10:40:47 +0200
commitda024b1ed2e756887bbed29b57dd634eb8a7ea5a (patch)
tree86424a21343cfc73a8096f3f957f0e90da8f0f90 /ui/gtk.c
parent991f366b2f7257cec3d3917f2d6e30b71b01f6e3 (diff)
downloadqemu-da024b1ed2e756887bbed29b57dd634eb8a7ea5a.zip
qemu-da024b1ed2e756887bbed29b57dd634eb8a7ea5a.tar.gz
qemu-da024b1ed2e756887bbed29b57dd634eb8a7ea5a.tar.bz2
ui: add ctrl modifier support to kbd_put_qcode_console()
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-id: 20180321135041.15768-2-kraxel@redhat.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'ui/gtk.c')
-rw-r--r--ui/gtk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/gtk.c b/ui/gtk.c
index ef5bc42..e98ac4d 100644
--- a/ui/gtk.c
+++ b/ui/gtk.c
@@ -1197,12 +1197,12 @@ static gboolean gd_text_key_down(GtkWidget *widget,
QemuConsole *con = vc->gfx.dcl.con;
if (key->keyval == GDK_KEY_Delete) {
- kbd_put_qcode_console(con, Q_KEY_CODE_DELETE);
+ kbd_put_qcode_console(con, Q_KEY_CODE_DELETE, false);
} else if (key->length) {
kbd_put_string_console(con, key->string, key->length);
} else {
int qcode = gd_map_keycode(key->hardware_keycode);
- kbd_put_qcode_console(con, qcode);
+ kbd_put_qcode_console(con, qcode, false);
}
return TRUE;
}