From: ben Date: Tue, 29 Jun 2010 22:00:43 +0000 (+0000) Subject: Set WM_TRANSIENT_FOR appropriately on the "about" box so that fvwm doesn't X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/commitdiff_plain/ce3262cf6ddf5908eced52424c07682795f9523b?hp=52a1ed228f79b38a867d6d46e7f2d33a31be5b8a 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 --- 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); }