From: Eric S. Raymond Date: Wed, 13 Sep 2006 18:28:02 +0000 (+0000) Subject: More resources into fallback. X-Git-Tag: 2.0~280 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=a4e2f7b1e48278ae7642c8fda987a67fe8674420;p=super-star-trek.git More resources into fallback. --- 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,