cryptospore / rpms / qemu-kvm

Forked from rpms/qemu-kvm 2 years ago
Clone

Blame SOURCES/kvm-qemu-char-add-Czech-characters-to-VNC-keysyms.patch

5d360b
From 985c196ddbb4c0182df81a5f989c197544f9ff9e Mon Sep 17 00:00:00 2001
5d360b
From: Gerd Hoffmann <kraxel@redhat.com>
5d360b
Date: Tue, 26 Sep 2017 10:57:32 +0200
5d360b
Subject: [PATCH 1/4] qemu-char: add Czech characters to VNC keysyms
5d360b
5d360b
RH-Author: Gerd Hoffmann <kraxel@redhat.com>
5d360b
Message-id: <20170926105734.746-2-kraxel@redhat.com>
5d360b
Patchwork-id: 76566
5d360b
O-Subject: [RHEL-7.5 qemu-kvm PATCH 1/3] qemu-char: add Czech characters 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: Jan Krupa <JKrupa@suse.com>
5d360b
5d360b
This patch adds missing Czech characters to the VNC keysym table.
5d360b
5d360b
Signed-off-by: Jan Krupa <jkrupa@suse.com>
5d360b
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
5d360b
(cherry picked from commit 018715f96cc1315df355743a1f807e1b95d2a10f)
5d360b
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
5d360b
---
5d360b
 ui/vnc_keysym.h | 8 ++++++++
5d360b
 1 file changed, 8 insertions(+)
5d360b
5d360b
diff --git a/ui/vnc_keysym.h b/ui/vnc_keysym.h
5d360b
index 6250bec..72c01d1 100644
5d360b
--- a/ui/vnc_keysym.h
5d360b
+++ b/ui/vnc_keysym.h
5d360b
@@ -224,6 +224,14 @@ static const name2keysym_t name2keysym[]={
5d360b
 { "odoubleacute",         0x1f5},
5d360b
 { "udoubleacute",         0x1fb},
5d360b
 
5d360b
+/* Czech national characters */
5d360b
+{ "ecaron",               0x1ec},
5d360b
+{ "scaron",               0x1b9},
5d360b
+{ "ccaron",               0x1e8},
5d360b
+{ "rcaron",               0x1f8},
5d360b
+{ "zcaron",               0x1be},
5d360b
+{ "uring",                0x1f9},
5d360b
+
5d360b
     /* modifiers */
5d360b
 {"ISO_Level3_Shift", 0xfe03}, /* XK_ISO_Level3_Shift */
5d360b
 {"Control_L", 0xffe3}, /* XK_Control_L */
5d360b
-- 
5d360b
1.8.3.1
5d360b