From: Nick Bowler Date: Thu, 10 Mar 2022 02:29:57 +0000 (-0500) Subject: Set default program title. X-Git-Url: http://git.draconx.ca/gitweb/rrace.git/commitdiff_plain/683027f82849ca96cf424ffff699ab57e119f051 Set default program title. --- diff --git a/src/motif.c b/src/motif.c index 75a985b..2d4fe94 100644 --- a/src/motif.c +++ b/src/motif.c @@ -33,6 +33,7 @@ static const char *progname = PROGNAME; static const struct option lopts[] = { LOPTS_INITIALIZER, {0} }; static char * const default_resources[] = { + "*title: RRace", "*game.height: 371", // 365 + 2*shadowThickness "*game.width: 498", @@ -105,7 +106,7 @@ static Widget early_setup(XtAppContext *app, int argc, char **argv) shell = XtOpenApplication(app, PROGNAME, NULL, 0, &argc, argv, (String *)default_resources, - sessionShellWidgetClass, NULL, 0); + sessionShellWidgetClass, NULL, 0); opterr = optind = 1; while ((opt = getopt_long_only(argc, argv, "", lopts, NULL)) != -1) {