]> granicus.if.org Git - nethack/commitdiff
X11: Capitalize the main window correctly
authorPasi Kallinen <paxed@alt.org>
Mon, 16 Oct 2017 14:34:29 +0000 (17:34 +0300)
committerPasi Kallinen <paxed@alt.org>
Mon, 16 Oct 2017 14:34:29 +0000 (17:34 +0300)
win/X11/winX.c

index c885e3d82b97463e47f26a685f6876ac3e1b18e0..ff9b0ff51f239dfa6210c9216ab99945cf779c53 100644 (file)
@@ -1219,6 +1219,7 @@ char **argv;
 
     num_args = 0;
     XtSetArg(args[num_args], XtNallowShellResize, True); num_args++;
+    XtSetArg(args[num_args], XtNtitle, "NetHack"); num_args++;
 
     toplevel = XtAppInitialize(&app_context, "NetHack",     /* application  */
                                (XrmOptionDescList) 0, 0,    /* options list */