thebeanogamer / rpms / qemu-kvm

Forked from rpms/qemu-kvm 5 months ago
Clone

Blame SOURCES/kvm-qemu-char-add-cyrillic-characters-numerosign-to-VNC-.patch

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