From 2f85428b91ecdd8b0e6a51e7afdde65484d5075d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20=C3=85strand?= Date: Tue, 1 Jun 2004 08:00:58 +0000 Subject: [PATCH] Handle ISO_Level3_Shift as Mode_Switch git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@704 423420c4-83ab-492f-b58f-81f9feb106b5 --- keymaps/modifiers | 2 ++ xkeymap.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/keymaps/modifiers b/keymaps/modifiers index 06c4344..c81d9fd 100644 --- a/keymaps/modifiers +++ b/keymaps/modifiers @@ -3,6 +3,8 @@ Shift_L 0x2a Alt_R 0xb8 Mode_switch 0xb8 +ISO_Level3_Shift 0xb8 + Alt_L 0x38 Control_R 0x9d diff --git a/xkeymap.c b/xkeymap.c index 51b1e31..edc59a7 100644 --- a/xkeymap.c +++ b/xkeymap.c @@ -656,7 +656,7 @@ reset_modifier_keys() rdp_send_scancode(ev_time, RDP_KEYRELEASE, SCANCODE_CHAR_LALT); if (MASK_HAS_BITS(remote_modifier_state, MapRightAltMask) && - !get_key_state(state, XK_Alt_R) && !get_key_state(state, XK_Mode_switch)) + !get_key_state(state, XK_Alt_R) && !get_key_state(state, XK_Mode_switch) && !get_key_state(state, XK_ISO_Level3_Shift)) rdp_send_scancode(ev_time, RDP_KEYRELEASE, SCANCODE_CHAR_RALT); reset_winkey(ev_time);