Set WM_TRANSIENT_FOR appropriately on the "about" box so that fvwm doesn't
authorben <ben@cda61777-01e9-0310-a592-d414129be87e>
Tue, 29 Jun 2010 22:00:43 +0000 (22:00 +0000)
committerben <ben@cda61777-01e9-0310-a592-d414129be87e>
Tue, 29 Jun 2010 22:00:43 +0000 (22:00 +0000)
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

index cefd768..a2d4992 100644 (file)
@@ -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);
 }