5d360b
From b9b3ebeba33cd6ba59145368550cf6ff771ac6d4 Mon Sep 17 00:00:00 2001
5d360b
From: Gerd Hoffmann <kraxel@redhat.com>
5d360b
Date: Tue, 26 Sep 2017 10:57:34 +0200
5d360b
Subject: [PATCH 3/4] qemu-char: add cyrillic characters 'numerosign' to VNC
5d360b
 keysyms
5d360b
5d360b
RH-Author: Gerd Hoffmann <kraxel@redhat.com>
5d360b
Message-id: <20170926105734.746-4-kraxel@redhat.com>
5d360b
Patchwork-id: 76564
5d360b
O-Subject: [RHEL-7.5 qemu-kvm PATCH 3/3] qemu-char: add cyrillic characters 'numerosign' to VNC keysyms
5d360b
Bugzilla: 1476641
5d360b
RH-Acked-by: Laurent Vivier <lvivier@redhat.com>
5d360b
RH-Acked-by: Markus Armbruster <armbru@redhat.com>
5d360b
RH-Acked-by: John Snow <jsnow@redhat.com>
5d360b
5d360b
From: Wang Xin <wangxinxin.wang@huawei.com>
5d360b
5d360b
This patch adds missing cyrillic character 'numerosign' to the VNC
5d360b
keysym table, it's needed by Russian keyboard. And I get the keysym from
5d360b
'<x11 keysymdef.h="">', the current keysym table in Qemu was generated from
5d360b
it.
5d360b
5d360b
Signed-off-by: Wang xin <wangxinxin.wang@huawei.com>
5d360b
Signed-off-by: Gonglei <arei.gonglei@huawei.com>
5d360b
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
5d360b
(cherry picked from commit 09f4fbe47314c2f13f16bf081997611f7f4251ea)
5d360b
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
5d360b
---
5d360b
 ui/vnc_keysym.h | 1 +
5d360b
 1 file changed, 1 insertion(+)
5d360b
5d360b
diff --git a/ui/vnc_keysym.h b/ui/vnc_keysym.h
5d360b
index 1dc039f..7fa2bc1 100644
5d360b
--- a/ui/vnc_keysym.h
5d360b
+++ b/ui/vnc_keysym.h
5d360b
@@ -404,6 +404,7 @@ static const name2keysym_t name2keysym[]={
5d360b
 {"breve",                         0x01a2},  /* U+02D8 BREVE */
5d360b
 {"caron",                         0x01b7},  /* U+02C7 CARON */
5d360b
 {"Ccaron",                        0x01c8},  /* U+010C LATIN CAPITAL LETTER C WITH CARON */
5d360b
+{"numerosign",                    0x06b0},  /* U+2116 NUMERO SIGN */
5d360b
 {"Cyrillic_a",                    0x06c1},  /* U+0430 CYRILLIC SMALL LETTER A */
5d360b
 {"Cyrillic_A",                    0x06e1},  /* U+0410 CYRILLIC CAPITAL LETTER A */
5d360b
 {"Cyrillic_be",                   0x06c2},  /* U+0431 CYRILLIC SMALL LETTER BE */
5d360b
-- 
5d360b
1.8.3.1
5d360b