From 982d419e1ad7512f0b405d24253ddb22f3cbe558 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ball=C3=B3=20Gy=C3=B6rgy?= Date: Tue, 14 Oct 2025 20:31:20 +0200 Subject: [PATCH] Make the about dialog transient for the main window This ensures that it's attached to it. --- src/lxterminal.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lxterminal.c b/src/lxterminal.c index 18ac81a..530f785 100644 --- a/src/lxterminal.c +++ b/src/lxterminal.c @@ -790,6 +790,7 @@ static void terminal_about_activate_event(GtkAction * action, LXTerminal * termi gtk_about_dialog_set_website(GTK_ABOUT_DIALOG(about_dlg), "http://lxde.org/"); gtk_about_dialog_set_authors(GTK_ABOUT_DIALOG(about_dlg), authors); gtk_about_dialog_set_translator_credits(GTK_ABOUT_DIALOG(about_dlg), translators); + gtk_window_set_transient_for(GTK_WINDOW(about_dlg), GTK_WINDOW(terminal->window)); /* Display the dialog, wait for the user to click OK, and dismiss the dialog. */ gtk_dialog_run(GTK_DIALOG(about_dlg));