From: H.G. Muller Date: Tue, 20 Oct 2009 01:04:08 +0000 (-0700) Subject: fix for bug #27667: window should be reference to toplevel X-Git-Tag: v4.4.1.20091019~2 X-Git-Url: http://winboard.nl/cgi-bin?p=xboard.git;a=commitdiff_plain;h=caf032a02b9d7a759529874d63bbcc31db671380;hp=ea087818d8b199299a6d3ebcdd368177fedbcf75 fix for bug #27667: window should be reference to toplevel The remaining objections of #27667 should be fixed by bringing the EngineOutput window under control of the TOPLEVEL compile-time switch. --- diff --git a/xengineoutput.c b/xengineoutput.c index 0ce019b..01cc622 100644 --- a/xengineoutput.c +++ b/xengineoutput.c @@ -381,7 +381,11 @@ Widget EngineOutputCreate(name, text) j = 0; XtSetArg(args[j], XtNresizable, True); j++; shell = +#if TOPLEVEL + XtCreatePopupShell(name, topLevelShellWidgetClass, +#else XtCreatePopupShell(name, transientShellWidgetClass, +#endif shellWidget, args, j); layout = XtCreateManagedWidget(layoutName, formWidgetClass, shell,