request for review and testing: default file name

Dirk Hohndel dirk at
Wed Sep 12 09:23:00 PDT 2012

Answering to my own question…

On Sep 12, 2012, at 8:52 AM, Dirk Hohndel wrote:
> But if you use the subsurface->Quit menu entry or Command-Q, then even though the callbacks for 'quit' are hooked up correctly (at least when running this on Linux), those callbacks are never called and you aren't asked if you want to save your file…
> Any idea why this isn't working as intended on MacOS?

Yes. Because it's a Mac and things are different. More specifically, Command-Q and Quit are special, they receive a Quartz notification, not a gtk notification.
Adding this to macos.c/subsurface_ui_setup() did the trick


I also tried the suggested fix to get the window to the foreground, but that still doesn't work when calling the application from the command line.

All pushed to the defaultfile branch.


More information about the subsurface mailing list