Support closing puffin_viewer using Command-Q and Command-W#265
Support closing puffin_viewer using Command-Q and Command-W#265im-0 wants to merge 1 commit intoEmbarkStudios:mainfrom
Conversation
emilk
left a comment
There was a problem hiding this comment.
This should already be handled by eframe: cmd-q should already quit the applciation on Mac, and Alt-F4 on windows
Ctrl-Q/Ctrl-W currently have no effect in Linux. |
|
Oh, interesting! Then I think this should go into |
This adds handling for Command-W on macOS and both Ctrl-Q and Ctrl-W on other systems.
d0d4b54 to
d85edc8
Compare
|
Do I understand this right: neither Usually there are three ways to close things when you are using a modern GUI app:
So, as I understand, you are thinking about the first case which is handled by the windowing system and already well supported by the In a case of P.S. I updated my patch to exclude Command-Q on macOS, as it is already working. |
Checklist
Description of Changes
Close
puffin_viewerusing Command-Q or Command-W.Related Issues
N/A