From: Ben Harris 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://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=467f074d8e3210b79867c97a0abe038fa4db9d0d;p=PuTTY_svn.git 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: http://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); }