More resources into fallback.
authorEric S. Raymond <esr@thyrsus.com>
Wed, 13 Sep 2006 18:28:02 +0000 (18:28 +0000)
committerEric S. Raymond <esr@thyrsus.com>
Wed, 13 Sep 2006 18:28:02 +0000 (18:28 +0000)
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",
+    /* text window resources */
+    "*text.resizable: true",
+    "*text.resize: ResizeBoth",
     /* 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, 
-                                   XtNresize, XawtextResizeBoth, 
-                                   XtNresizable, True, NULL);
+                                   NULL);
 
     /* sample text so the widget will be identifiable */
     XtVaSetValues (text, XtNtype, XawAsciiString,