From ce3262cf6ddf5908eced52424c07682795f9523b Mon Sep 17 00:00:00 2001 From: ben Date: Tue, 29 Jun 2010 22:00:43 +0000 Subject: [PATCH] Set WM_TRANSIENT_FOR appropriately on the "about" box so that fvwm doesn't insist on finding a bit of spare screen to put it in. Still pondering whether it's sensible to do this with the "change settings" box as well. git-svn-id: svn://svn.tartarus.org/sgt/putty@8970 cda61777-01e9-0310-a592-d414129be87e --- unix/gtkdlg.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/unix/gtkdlg.c b/unix/gtkdlg.c index cefd768a..a2d4992e 100644 --- a/unix/gtkdlg.c +++ b/unix/gtkdlg.c @@ -3506,6 +3506,8 @@ void about_box(void *window) gtk_widget_show(w); set_transient_window_pos(GTK_WIDGET(window), aboutbox); + gtk_window_set_transient_for(GTK_WINDOW(aboutbox), + GTK_WINDOW(window)); gtk_widget_show(aboutbox); } -- 2.11.0