fx-compat: Make macOS application menu shortcuts work

e.g. Cmd-H flashed the menu but didn't actually hide.
This commit is contained in:
Abe Jellinek 2022-06-28 12:15:11 -04:00
parent 00e46443a6
commit 8681e8ffe9

View file

@ -569,17 +569,21 @@
<!-- These are used to build the Application menu under Cocoa widgets -->
<key id="key_preferencesCmdMac"
key="&preferencesCmdMac.commandkey;"
modifiers="accel"/>
modifiers="accel"
internal="true"/>
<key id="key_hideThisAppCmdMac"
key="&hideThisAppCmdMac.commandkey;"
modifiers="accel"/>
modifiers="accel"
internal="true"/>
<key id="key_hideOtherAppsCmdMac"
key="&hideOtherAppsCmdMac.commandkey;"
modifiers="accel,alt"/>
modifiers="accel,alt"
internal="true"/>
<key id="key_quitApplication"
key="&quitApplicationCmdMac.key;"
command="cmd_quitApplication"
modifiers="accel"/>
modifiers="accel"
internal="true"/>
</keyset>
<!-- nsMenuBarX hides these and uses them to build the Application menu. -->