mirror of
https://github.com/love2d/love.git
synced 2026-08-12 08:30:56 +02:00
Trigger love.quit when the SDL_APP_TERMINATING event occurs.
--HG-- branch : minor
This commit is contained in:
@@ -329,6 +329,7 @@ Message *Event::convert(const SDL_Event &e) const
|
||||
SDL_free(e.drop.file);
|
||||
break;
|
||||
case SDL_QUIT:
|
||||
case SDL_APP_TERMINATING:
|
||||
msg = new Message("quit");
|
||||
break;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user