Skip to content

Conversation

@ccawley2011
Copy link
Contributor

While SDL2 will quit the application when Alt+F4 is pressed, SDL1 does not. This makes it difficult to exit the application when it was started in full-screen.

This was tested with Linux and X11, although this behavior may differ on other platforms.

@lotharsm
Copy link
Member

I just checked this with a current build running on Ubuntu 19.10. It seems that - at least for me - pressing the ESC key has no effect. Maybe this is limited to SDL1?

@endrift
Copy link
Member

endrift commented Mar 29, 2020

The reason I never merged this was because hitting escape by mistake and then losing everything unsaved has happened to me far too many times for me to think this is a good idea.

@Codex-
Copy link

Codex- commented Aug 4, 2020

What if instead of a single escape press it was multiple or duration based to alleviate accidental quits?

@rawr51919
Copy link

Or just use alt-f4 for both sdl1 and sdl2?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants