mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-10 00:52:28 +02:00
Clicking the button generates a WindowCloseRequest event which the client app then has to deal with. The default behavior for GWindow is to close() itself. I also added a flag, GWindow::should_exit_event_loop_on_close() which does what it sounds like it does. This patch exposed some bugs in GWindow and GWidget teardown.
5.0 KiB
5.0 KiB