fix for bug #27667: window should be reference to toplevel
authorH.G. Muller <h.g.muller@hccnet.nl>
Tue, 20 Oct 2009 01:04:08 +0000 (18:04 -0700)
committerArun Persaud <arun@nubati.net>
Tue, 20 Oct 2009 01:04:08 +0000 (18:04 -0700)
The remaining objections of #27667 should be fixed by bringing the
EngineOutput window under control of the TOPLEVEL compile-time switch.

xengineoutput.c

index 0ce019b..01cc622 100644 (file)
@@ -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,