diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-04-21 04:11:29 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-04-21 04:11:29 +0200 |
commit | b3f7f5436a2b3e67bfeb1d36cb62c188b83cf792 (patch) | |
tree | 6170fe125d3df923b011273a583915865f73f074 /Games/Minesweeper/main.cpp | |
parent | 57da00b731fd060c051bb5cdff5cdf507ece81bb (diff) | |
download | serenity-b3f7f5436a2b3e67bfeb1d36cb62c188b83cf792.zip |
Snake+Minesweeper: Exit process when game window is closed.
Diffstat (limited to 'Games/Minesweeper/main.cpp')
-rw-r--r-- | Games/Minesweeper/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Games/Minesweeper/main.cpp b/Games/Minesweeper/main.cpp index 2c4ae20e3a..d1771b70ad 100644 --- a/Games/Minesweeper/main.cpp +++ b/Games/Minesweeper/main.cpp @@ -13,6 +13,7 @@ int main(int argc, char** argv) GApplication app(argc, argv); auto* window = new GWindow; + window->set_should_exit_event_loop_on_close(true); window->set_resizable(false); window->set_title("Minesweeper"); window->set_rect(100, 100, 139, 175); |