From edfc6a05ecc2b74edd934f53334089123dc00a96 Mon Sep 17 00:00:00 2001 From: Ben Harris 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. [originally from svn r8970] --- 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); }