Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

sokol_app: Command+Q quit event on macOS #265

Open
TheSpydog opened this issue Feb 24, 2020 · 1 comment 路 May be fixed by #631
Open

sokol_app: Command+Q quit event on macOS #265

TheSpydog opened this issue Feb 24, 2020 · 1 comment 路 May be fixed by #631

Comments

@TheSpydog
Copy link

Would it be possible to add support for the macOS Command+Q keyboard shortcut such that sokol_app registers the command as a system "quit" event? Having to click the red button in the title bar just feels wrong to my muscle memory. 馃槣

(I'm brand new to sokol_app, so if this is already possible, I apologize! I didn't see anything in the documentation about it, so I thought I'd ask here.)

@floooh
Copy link
Owner

floooh commented Feb 25, 2020

Yeah, this seems to require special handling on macOS, and hopefully shouldn't be too much work. I need to figure out how it works though.

@floooh floooh self-assigned this Feb 25, 2020
@geekynils geekynils linked a pull request Feb 14, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants