projects
/
xboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
ea08781
)
fix for bug #27667: window should be reference to toplevel
author
H.G. Muller
<h.g.muller@hccnet.nl>
Tue, 20 Oct 2009 01:04:08 +0000 (18:04 -0700)
committer
Arun 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
patch
|
blob
|
history
diff --git
a/xengineoutput.c
b/xengineoutput.c
index
0ce019b
..
01cc622
100644
(file)
--- 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,