diff -Naurd ../nethack-3.4.1/win/X11/Install.X11 ./win/X11/Install.X11 --- ../nethack-3.4.1/win/X11/Install.X11 Sun Feb 23 14:43:48 2003 +++ ./win/X11/Install.X11 Mon Sep 1 14:33:32 2003 @@ -109,13 +109,10 @@ find the include and library files for X11. -Finally, you should also install the NetHack.ad file as NetHack in the -normal X11 applications defaults directory. Alternatively, each person -may append the contents of this file to their .Xdefaults file. A second -alternative is copy NetHack.ad to NetHack in GAMEDIR (from the top Makefile) -and add a line to nethack.sh specifying this additional applications -defaults directory: - XAPPLRESDIR=$HACKDIR; export XAPPLRESDIR +Finally, to ensure NetHack's windows look the way they were intended to +look, make sure the top Makefile VARDATND also contains NetHack.ad. If it +does, running nethack will automatically take the appropriate steps to +cause this file to be used to initialize NetHack's X11 resources. Three icon suggestions to the window manager are supported: nh72, nh56, diff -Naurd ../nethack-3.4.1/win/X11/winX.c ./win/X11/winX.c --- ../nethack-3.4.1/win/X11/winX.c Sun Feb 23 14:43:49 2003 +++ ./win/X11/winX.c Mon Sep 1 14:33:32 2003 @@ -93,6 +93,7 @@ struct window_procs X11_procs = { "X11", WC_COLOR|WC_HILITE_PET, + 0L, X11_init_nhwindows, X11_player_selection, X11_askname,