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
This commit is contained in:
Peter Åstrand 2004-06-01 08:00:58 +00:00
parent 8cf9b562eb
commit 2f85428b91
2 changed files with 3 additions and 1 deletions

View File

@ -3,6 +3,8 @@ Shift_L 0x2a
Alt_R 0xb8
Mode_switch 0xb8
ISO_Level3_Shift 0xb8
Alt_L 0x38
Control_R 0x9d

View File

@ -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);