Cmd-W on macOS incorrectly sends an SDL quit message
See original GitHub issueAs we want to handle document closing within the game itself (one example being #11182), this shouldn’t trigger a game-wide close. This occurs because the default dotnet
menu in macOS has a Window > Close
item with this shortcut.
The solution is to add a custom nib
to the template app without this menu being populated.
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
SDL_QUIT problem - SDL Development
I'm having a VERY strange SDL_QUIT problem with SDL1.2.6 in Win32. My game is checking for SDL_QUIT messages to shutdown, but something very ......
Read more >Why mac os sdl2 program window is not responding?
The program is not responding because there is no message loop that processes OS messages and other stuff. You should add one using ......
Read more >If an app freezes or quits unexpectedly on Mac
If an app doesn't quit as expected, or it's unresponsive, you can force quit the app (you may lose unsaved changes). Choose Apple...
Read more >If your Mac restarts and a message appears
If your Mac restarts unexpectedly, an error known as a kernel panic occurred, and a message indicates that your computer restarted because of...
Read more >DOSBox v0.74-3 Manual
Use this if the wrong or no CD-ROM drive is mounted while using the SDL CD-ROM interface. "number" can be found by "MOUNT...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Reopening as it still seems to be a problem.
Actually it probably does make sense, I’m just used to cmd-w working only on native controls in macOS…