From caf032a02b9d7a759529874d63bbcc31db671380 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Mon, 19 Oct 2009 18:04:08 -0700 Subject: [PATCH] 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. --- xengineoutput.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) 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, -- 1.7.0.4