Re: [AD] OSX - quit function |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
> The main docs[1] say that attempting to quit an application by clicking
> the window's close button OR selecting the Quit menu OR pressing cmd+Q
> should call the function registered by set_close_button_callback() or
> do nothing if no function has been registered.
>
> This is contradicted by the Allegro specifics[2], which state that Quit
> or cmd-Q closes the application. This is what happens in practice, by
> raising a SIGTERM.
>
> This patch restores the 'general' documented behaviour.
That is the correct behavior.
> Any comments?
Good you spotted the problem. I'll apply the patch tomorrow.
Evert