vnc: recognize Hungarian doubleacutes
authorMichael Tokarev <mjt@tls.msk.ru>
Sun, 3 Feb 2013 20:36:25 +0000 (00:36 +0400)
committerStefan Hajnoczi <stefanha@redhat.com>
Wed, 6 Feb 2013 14:52:31 +0000 (15:52 +0100)
As reported in http://bugs.debian.org/697641 , some Hungarian keys
does not work with qemu when using vnc display.

This is because while the Hungarian keymap mentions these symbols,
qemu know nothing about them.  So add them.

This patch is applicable to -stable for all previous releases.

Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
ui/vnc_keysym.h

index df33cfe53c9dc92113c883a95f99d0a4d3e26e41..6250bec6923d523c267b709830d9d8fc4ece6edd 100644 (file)
@@ -215,10 +215,14 @@ static const name2keysym_t name2keysym[]={
 { "Zabovedot",            0x1af},
 { "zacute",               0x1bc},
 { "Zacute",               0x1ac},
+{ "Odoubleacute",         0x1d5},
+{ "Udoubleacute",         0x1db},
 { "cacute",               0x1e6},
 { "Cacute",               0x1c6},
 { "nacute",               0x1f1},
 { "Nacute",               0x1d1},
+{ "odoubleacute",         0x1f5},
+{ "udoubleacute",         0x1fb},
 
     /* modifiers */
 {"ISO_Level3_Shift", 0xfe03}, /* XK_ISO_Level3_Shift */