I like the new Geany feature that toggles the menubar on/off, and I wanted to 
make it more convenient to use, by implementing Alt key support similar to 
Mousepad: 
- as long as the menubar is hidden, Alt key alone toggles the bar 
visible/invisible, 
- Alt+mnemonics now work, 
- any other key after Alt hides the menubar. 
- Also added a fix that hides the menubar on losing window focus, so Alt+Tab 
won't pop it up persistently.

With these changes, I also wonder if it could be safe yet to simply have the 
menubar View entry for Show Menubar visible at all times, without having to set 
a hotkey for it and hotkey-toggle it first.
You can view, comment on, or merge this pull request online at:

  https://github.com/geany/geany/pull/4515

-- Commit Summary --

  * Hide toggled menubar on lost window focus
  * Add Alt key handling for hidden (toggled) menubar

-- File Changes --

    M src/keybindings.c (59)
    M src/libmain.c (10)

-- Patch Links --

https://github.com/geany/geany/pull/4515.patch
https://github.com/geany/geany/pull/4515.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/4515
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/pull/[email protected]>

Reply via email to