From: Pierre Ossman Date: Wed, 9 Dec 2020 14:57:05 +0000 (+0100) Subject: Map macOS Eisu key to XK_Eisu_toggle X-Git-Tag: v1.11.90~81 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a3d7d7d4ef949e0dee006e8a67f9bd7b6d10b5c2;p=tigervnc.git Map macOS Eisu key to XK_Eisu_toggle It's a better match for what the key symbolises, even though it is not as common on Unix systems. But we want to avoid getting in to tailoring things for any one specific input method implementation. --- diff --git a/vncviewer/cocoa.mm b/vncviewer/cocoa.mm index 891d9635..c3fe98e5 100644 --- a/vncviewer/cocoa.mm +++ b/vncviewer/cocoa.mm @@ -359,7 +359,7 @@ static const int kvk_map[][2] = { { kVK_ANSI_Keypad8, XK_KP_8 }, { kVK_ANSI_Keypad9, XK_KP_9 }, // Japanese Keyboard Support - { kVK_JIS_Eisu, XK_Muhenkan }, + { kVK_JIS_Eisu, XK_Eisu_toggle }, { kVK_JIS_Kana, XK_Hiragana_Katakana }, };