]> Git Repo - qemu.git/commit
ui/gtk: Fix non-working DELETE key
authorThomas Huth <[email protected]>
Thu, 27 Oct 2016 12:17:27 +0000 (14:17 +0200)
committerGerd Hoffmann <[email protected]>
Fri, 28 Oct 2016 09:19:38 +0000 (11:19 +0200)
commit856178852032404dee69665c2dcb65f00b4bb48e
treeb648bad005b3594c2f9e84adefe65ba80464e584
parent76d8f93b4a72d02f6af6ff4eda36b7630cd8417b
ui/gtk: Fix non-working DELETE key

GTK generates key events for the delete key with key->string[0] = 0x7f
... but this does not work right with the readline_handle_byte()
function in util/readline.c, since this treats the keycode 127 as
backspace. So let's add a special case for the GTK delete key to make
this key behave right in the monitor interface of the GTK ui.

Buglink: https://bugs.launchpad.net/qemu/+bug/1619438
Signed-off-by: Thomas Huth <[email protected]>
Message-id: 1477570647[email protected]
Signed-off-by: Gerd Hoffmann <[email protected]>
ui/gtk.c
This page took 0.024942 seconds and 4 git commands to generate.