[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 03/27] ui/console: Fix non-working backspace key in m
From: |
Michael Tokarev |
Subject: |
[Qemu-devel] [PULL 03/27] ui/console: Fix non-working backspace key in monitor of gtk UI |
Date: |
Wed, 14 Sep 2016 10:58:29 +0300 |
From: Thomas Huth <address@hidden>
In the QEMU monitor pane of the gtk user interface, the backspace
key is not working at all. This happens because of a missing mapping
of the key in the qcode_to_keysym[] table. Thus let's add an entry
there to get the backspace key working again.
Buglink: https://bugs.launchpad.net/qemu/+bug/1611979
Signed-off-by: Thomas Huth <address@hidden>
Reviewed-by: Gerd Hoffmann <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>
---
ui/console.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/ui/console.c b/ui/console.c
index c24bfe4..3940762 100644
--- a/ui/console.c
+++ b/ui/console.c
@@ -1142,6 +1142,7 @@ static const int qcode_to_keysym[Q_KEY_CODE__MAX] = {
[Q_KEY_CODE_PGUP] = QEMU_KEY_PAGEUP,
[Q_KEY_CODE_PGDN] = QEMU_KEY_PAGEDOWN,
[Q_KEY_CODE_DELETE] = QEMU_KEY_DELETE,
+ [Q_KEY_CODE_BACKSPACE] = QEMU_KEY_BACKSPACE,
};
bool kbd_put_qcode_console(QemuConsole *s, int qcode)
--
2.1.4
- [Qemu-devel] [PULL 06/27] MAINTAINERS: Add include/hw/sh4/ to SH4 section, (continued)
- [Qemu-devel] [PULL 06/27] MAINTAINERS: Add include/hw/sh4/ to SH4 section, Michael Tokarev, 2016/09/14
- [Qemu-devel] [PULL 22/27] tricore: remove useless cast, Michael Tokarev, 2016/09/14
- [Qemu-devel] [PULL 18/27] curl: Operate on zero-length file, Michael Tokarev, 2016/09/14
- [Qemu-devel] [PULL 25/27] win32: don't run subprocess tests on Mingw32 platform, Michael Tokarev, 2016/09/14
- [Qemu-devel] [PULL 01/27] Remove remainders of HPPA backend, Michael Tokarev, 2016/09/14
- [Qemu-devel] [PULL 27/27] mptsas: change .realize function name, Michael Tokarev, 2016/09/14
- [Qemu-devel] [PULL 23/27] fw_cfg: remove useless casts, Michael Tokarev, 2016/09/14
- [Qemu-devel] [PULL 07/27] MAINTAINERS: Add include/sysemu/cpus.h, Michael Tokarev, 2016/09/14
- [Qemu-devel] [PULL 21/27] s390x: remove useless cast, Michael Tokarev, 2016/09/14
- [Qemu-devel] [PULL 10/27] MAINTAINERS: Fix up F: entry bit rot, Michael Tokarev, 2016/09/14
- [Qemu-devel] [PULL 03/27] ui/console: Fix non-working backspace key in monitor of gtk UI,
Michael Tokarev <=
- [Qemu-devel] [PULL 26/27] linux-user/qemu.h: change malloc to g_malloc, free to g_free, Michael Tokarev, 2016/09/14
- [Qemu-devel] [PULL 19/27] coccinelle: add a script to remove useless casts, Michael Tokarev, 2016/09/14
- [Qemu-devel] [PULL 05/27] MAINTAINERS: Add include/hw/tricore/ to TriCore section, Michael Tokarev, 2016/09/14
- [Qemu-devel] [PULL 08/27] MAINTAINERS: Fix wildcard for scsi headers, Michael Tokarev, 2016/09/14
- [Qemu-devel] [PULL 16/27] cpus: update comments, Michael Tokarev, 2016/09/14
- [Qemu-devel] [PULL 20/27] linux-user,s390x: remove useless cast, Michael Tokarev, 2016/09/14
- [Qemu-devel] [PULL 15/27] cpus: rename local variable to meaningful one, Michael Tokarev, 2016/09/14
- [Qemu-devel] [PULL 12/27] help: Update help to remove misleading display information, Michael Tokarev, 2016/09/14
- [Qemu-devel] [PULL 11/27] sh4: fix broken link to documentation, Michael Tokarev, 2016/09/14
- [Qemu-devel] [PULL 17/27] Remove unused function declarations, Michael Tokarev, 2016/09/14