- commit
- d0b419259f034b85a5eda512a7b62d7e731c77c3
- parent
- 6b746b797806e376c619b6ee123cb00cce0bef85
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2020-09-19 15:43
fix: close window instead of whole application (all windows)
Diffstat
| M | xiterm.c | 2 | +- |
1 files changed, 1 insertions, 1 deletions
diff --git a/xiterm.c b/xiterm.c
@@ -71,7 +71,7 @@ void on_term_exit(VteTerminal *term, int status, gpointer user_data) {
71 71 gtk_notebook_remove_page(notebook, gtk_notebook_page_num(notebook, GTK_WIDGET(term)));
72 72
73 73 if (gtk_notebook_get_n_pages(notebook) == 0) {
74 -1 g_application_quit(G_APPLICATION(app));
-1 74 gtk_window_close(window);
75 75 } else {
76 76 update_show_tabs();
77 77 }