mirror of
https://github.com/debauchee/barrier.git
synced 2024-11-23 20:12:39 +03:00
Added ISO_Level3_Shift as a synonym for Mode_switch. I've no idea
if this will work as hoped but I've seen documentation that XFree 4.3 uses ISO_Level3_Shift rather than Mode_switch.
This commit is contained in:
parent
97046541b9
commit
cfb082f306
@ -554,6 +554,7 @@ CXWindowsKeyState::mapToModifierMask(unsigned int i, KeySym keysym)
|
||||
return KeyModifierSuper;
|
||||
|
||||
case XK_Mode_switch:
|
||||
case XK_ISO_Level3_Shift:
|
||||
m_modeSwitchMask = (1 << i);
|
||||
return KeyModifierModeSwitch;
|
||||
|
||||
@ -585,6 +586,7 @@ CXWindowsKeyState::updateModifiers()
|
||||
};
|
||||
static const CModifierBitInfo s_modifierBitTable[] = {
|
||||
{ &CXWindowsKeyState::m_modeSwitchKeysym, XK_Mode_switch, NoSymbol },
|
||||
{ &CXWindowsKeyState::m_modeSwitchKeysym, XK_ISO_Level3_Shift, NoSymbol },
|
||||
};
|
||||
|
||||
// choose the keysym to use for some modifiers. if a modifier has
|
||||
|
Loading…
Reference in New Issue
Block a user