summaryrefslogtreecommitdiff
path: root/emulators/qemu-devel/files/patch-ui-gtk.c
diff options
context:
space:
mode:
authorJuergen Lock <nox@FreeBSD.org>2013-05-29 18:01:53 +0000
committerJuergen Lock <nox@FreeBSD.org>2013-05-29 18:01:53 +0000
commitb179b768b455143b32bd626d9ca89da255b9a177 (patch)
treecb219037f0f1b71f4902a7cad4a10363a571c308 /emulators/qemu-devel/files/patch-ui-gtk.c
parentUpdate to 1.7.1 (diff)
- Update to 1.5.0, announce message is here:
https://lists.gnu.org/archive/html/qemu-devel/2013-05/msg02557.html Full changelog: http://wiki.qemu.org/ChangeLog/1.5 The new libusb host code needs recent 10-current; for older releases you can still try the net/usbredir support knob, see pkg-message for details. - Update pkg-message a bit. Thanx to: emaste for some suggestions
Diffstat (limited to 'emulators/qemu-devel/files/patch-ui-gtk.c')
-rw-r--r--emulators/qemu-devel/files/patch-ui-gtk.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/emulators/qemu-devel/files/patch-ui-gtk.c b/emulators/qemu-devel/files/patch-ui-gtk.c
new file mode 100644
index 000000000000..b71eb187119c
--- /dev/null
+++ b/emulators/qemu-devel/files/patch-ui-gtk.c
@@ -0,0 +1,14 @@
+--- a/ui/gtk.c
++++ b/ui/gtk.c
+@@ -714,7 +718,11 @@ static gboolean gd_key_event(GtkWidget *
+ } else if (gdk_keycode < 97) {
+ qemu_keycode = gdk_keycode - 8;
+ } else if (gdk_keycode < 158) {
++#if 0
+ qemu_keycode = translate_evdev_keycode(gdk_keycode - 97);
++#else
++ qemu_keycode = translate_xfree86_keycode(gdk_keycode - 97);
++#endif
+ } else if (gdk_keycode == 208) { /* Hiragana_Katakana */
+ qemu_keycode = 0x70;
+ } else if (gdk_keycode == 211) { /* backslash */