Excuse me in advance if I don't use xkb terminology. :)
Shouldn't the fix be more generic, and apply to all "modifier" keys (such as ctrl, shift, alt, super) and not just layout/group switching actions?
For example, I want to be able to map the Super key to an action (which is currently impossible, AFAIK).
The logic should be something like this:
on key release: if the released key was a modifier, and all the pressed keys are modifiers: Fire the event
Excuse me in advance if I don't use xkb terminology. :)
Shouldn't the fix be more generic, and apply to all "modifier" keys (such as ctrl, shift, alt, super) and not just layout/group switching actions?
For example, I want to be able to map the Super key to an action (which is currently impossible, AFAIK).
The logic should be something like this:
on key release:
if the released key was a modifier, and all the pressed keys are modifiers:
Fire the event