not-fl3 / miniquad

Cross platform rendering in Rust
Apache License 2.0
1.54k stars 173 forks source link

Add a quit shortcut to the osx menu bar #464

Closed markmurphydev closed 3 months ago

markmurphydev commented 3 months ago

Adds Command+Q functionality by adding a "Quit AppName" entry to the top menu bar. This is the normal way to implement the command-q shortcut on osx, and lets you rebind it in system keyboard settings.

Fixes not-fl3/macroquad#649

Note that on osx on master, clicking on a menu bar item currently freezes the window. This is due to #455.

not-fl3 commented 3 months ago

Thanks for PR!