Comment 81 for bug 36812

Revision history for this message
In , Ori Avtalion (salty-horse) wrote :

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