Control: reassign -1 muffin 2.2.6-4
Control: retitle -1 muffin: when using Modifier+Key for the menu, the modifier 
is ignored

Hi,

I spent a bunch of hours trying to get this to work today, I even thought that 
I had found a fix, but in the end my fix was flawed, so I gave up.

Some extra explanations: the problem is related to the Menu key (called 
overlay-key in the code), which defaults to Super_L.  Because Super is normally 
a modifier and not a key, the code (which is part of muffin, not cinnamon, 
hence the reassignment) that handles this key is very messy.

The problem is that the code that checks if the key for the menu matches the 
one stored doesn't check for modifiers (because it assumes that there will be 
none, due to Super being a modifier that can only be a "key" if there are no 
other modifiers).

I'm attaching my failed patch for posterity. This patch works for Alt-F3 until 
F3 is pressed once, after that Alt-F3 doesn't trigger the menu anymore.  I'm 
not sure exactly why, but the function does keep some state, so I guess that it 
enters a state from which it cannot leave.

This code has been completely reworked upstream, and they claim that they can't 
reproduce anymore, which makes it even harder to get a fix :-/

The workaround is to use Super for the menu.

-- 
Regards,
Marga

Attachment: fix-overlay-key
Description: Binary data

Reply via email to