From d15487557829a5edb2c7c0a66db6266960cb84a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ball=C3=B3=20Gy=C3=B6rgy?= Date: Wed, 15 Oct 2025 10:39:25 +0200 Subject: [PATCH] Make the about dialog transient for the main window This ensures that it's attached to it. --- src/main-win.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main-win.c b/src/main-win.c index 49fc53b8..1562e68f 100644 --- a/src/main-win.c +++ b/src/main-win.c @@ -1159,6 +1159,7 @@ static void on_about(GtkAction* act, FmMainWin* win) gtk_about_dialog_set_comments(about_dlg, comments->str); g_string_free(comments, TRUE); g_object_unref(builder); + gtk_window_set_transient_for(GTK_WINDOW(about_dlg), GTK_WINDOW(win)); g_signal_connect(about_dlg, "response", G_CALLBACK(on_about_response), (gpointer)&about_dlg); pcmanfm_ref(); }