From d70ad662bf172955010ae900b51b88c7e2515668 Mon Sep 17 00:00:00 2001 From: crs Date: Wed, 29 Dec 2004 17:53:44 +0000 Subject: [PATCH] Added support for ISO_Level3_Shift on X windows server. It's treated as if it were Mode_switch. --- lib/platform/CXWindowsScreen.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/platform/CXWindowsScreen.cpp b/lib/platform/CXWindowsScreen.cpp index b7a84a8a..677bfc54 100644 --- a/lib/platform/CXWindowsScreen.cpp +++ b/lib/platform/CXWindowsScreen.cpp @@ -1404,6 +1404,10 @@ CXWindowsScreen::mapKeyFromX(XKeyEvent* event) const if (keysym == XK_ISO_Left_Tab) { return kKeyLeftTab; } + if (keysym == XK_ISO_Level3_Shift) { + // treat ISO_Level3_Shift as ModeSwitch + return kKeyModeSwitch; + } return kKeyNone; case 0xff00: