Don't send shift when CapsLock is on and Ctrl is pressed, too.
Fixes 858618 and 1069927 git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@809 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
parent
3b43325dc8
commit
11f02bd9dc
@ -408,6 +408,13 @@ xkeymap_translate_key(uint32 keysym, unsigned int keycode, unsigned int state)
|
||||
}
|
||||
}
|
||||
|
||||
if (((remote_modifier_state & MapLeftCtrlMask)
|
||||
|| (remote_modifier_state & MapRightCtrlMask)) && get_key_state(state, XK_Caps_Lock))
|
||||
{
|
||||
DEBUG_KBD(("CapsLock + Ctrl pressed, releasing LeftShift\n"));
|
||||
tr.modifiers ^= MapLeftShiftMask;
|
||||
}
|
||||
|
||||
if (tr.scancode != 0)
|
||||
{
|
||||
DEBUG_KBD(("Found key translation, scancode=0x%x, modifiers=0x%x\n",
|
||||
|
Loading…
Reference in New Issue
Block a user