More fixes for X11 client keyboard handling.
This commit is contained in:
parent
a6f21bff90
commit
48965e2381
|
@ -404,7 +404,11 @@ CServerProxy::translateModifierMask(KeyModifierMask mask) const
|
|||
KeyModifierSuper
|
||||
};
|
||||
|
||||
KeyModifierMask newMask = 0;
|
||||
KeyModifierMask newMask = mask & ~(KeyModifierShift |
|
||||
KeyModifierControl |
|
||||
KeyModifierAlt |
|
||||
KeyModifierMeta |
|
||||
KeyModifierSuper);
|
||||
if ((mask & KeyModifierShift) != 0) {
|
||||
newMask |= s_masks[m_modifierTranslationTable[kKeyModifierIDShift]];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue