From a4e2f7b1e48278ae7642c8fda987a67fe8674420 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 13 Sep 2006 18:28:02 +0000 Subject: [PATCH] More resources into fallback. --- src/xio.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/xio.c b/src/xio.c index ed09511..a84ee44 100644 --- 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, -- 2.31.1