]> git.draconx.ca Git - rrace.git/commitdiff
Set default program title.
authorNick Bowler <nbowler@draconx.ca>
Thu, 10 Mar 2022 02:29:57 +0000 (21:29 -0500)
committerNick Bowler <nbowler@draconx.ca>
Thu, 10 Mar 2022 02:30:30 +0000 (21:30 -0500)
src/motif.c

index 75a985b40739690c93b3e32abe5c87808c762516..2d4fe94d0b1f1e5e8683cf803725c156c7daf531 100644 (file)
@@ -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) {