projects
/
super-star-trek.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3d0b246
)
More resources into fallback.
author
Eric S. Raymond
<esr@thyrsus.com>
Wed, 13 Sep 2006 18:28:02 +0000
(18:28 +0000)
committer
Eric S. Raymond
<esr@thyrsus.com>
Wed, 13 Sep 2006 18:28:02 +0000
(18:28 +0000)
src/xio.c
patch
|
blob
|
history
diff --git
a/src/xio.c
b/src/xio.c
index ed095115cc696fa2e65553a1eb071bd357b22e95..a84ee44192a077809e8da3bb7be703b3a89fa84b 100644
(file)
--- a/
src/xio.c
+++ b/
src/xio.c
@@
-16,6
+16,9
@@
String fallback[] = {
"*photons.label: Torps",
"*destruct.label: Destruct",
"*quit.label: Quit",
"*photons.label: Torps",
"*destruct.label: Destruct",
"*quit.label: Quit",
+ /* text window resources */
+ "*text.resizable: true",
+ "*text.resize: ResizeBoth",
/* layout constraints */
"*photons.fromHoriz: phasers",
"*destruct.fromHoriz: photons",
/* layout constraints */
"*photons.fromHoriz: phasers",
"*destruct.fromHoriz: photons",
@@
-54,8
+57,7
@@
int main (int argc, char **argv)
/* the command window */
text = XtVaCreateManagedWidget ("text", asciiTextWidgetClass, form,
XtNfromVert, buttons,
/* the command window */
text = XtVaCreateManagedWidget ("text", asciiTextWidgetClass, form,
XtNfromVert, buttons,
- XtNresize, XawtextResizeBoth,
- XtNresizable, True, NULL);
+ NULL);
/* sample text so the widget will be identifiable */
XtVaSetValues (text, XtNtype, XawAsciiString,
/* sample text so the widget will be identifiable */
XtVaSetValues (text, XtNtype, XawAsciiString,