We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 3537 - Hint to disable SDL_QUIT on last window closed
Summary: Hint to disable SDL_QUIT on last window closed
Status: ASSIGNED
Alias: None
Product: SDL
Classification: Unclassified
Component: events (show other bugs)
Version: 2.0.5
Hardware: x86 Other
: P2 enhancement
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-30 04:32 UTC by Intellectual Kitty
Modified: 2017-08-11 20:05 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Intellectual Kitty 2016-12-30 04:32:38 UTC
For most applications, generating an SDL_QUIT event on the last window closing is correct.  However, for something like a text editing application, this behavior is not desirable.  So, a hint disabling this behavior would be helpful.
Comment 1 Sam Lantinga 2017-08-11 20:05:47 UTC
Good idea, thanks!