Add an AltGr key; full-mode letters flick to their AltGr symbol
The right alt in full mode is now AltGr: sticky like the other modifiers, it types the keymap's third/fourth level (sk: AltGr+J = ') instead of an Alt shortcut. In hold-keys mode it holds the physical right alt, since KWin resets the modifier state after an ISO_Level3_Shift keysym. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -40,7 +40,12 @@ Qt::KeyboardModifiers Modifiers::active() const
|
||||
if (entry.state.isActive())
|
||||
flags |= entry.flag;
|
||||
}
|
||||
return flags;
|
||||
return flags & ~Qt::GroupSwitchModifier;
|
||||
}
|
||||
|
||||
bool Modifiers::isAltGrActive() const
|
||||
{
|
||||
return m_entries.back().state.isActive();
|
||||
}
|
||||
|
||||
QVariantMap Modifiers::modes() const
|
||||
|
||||
Reference in New Issue
Block a user