-NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.476 $ $NHDT-Date: 1615794750 2021/03/15 07:52:30 $
+NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.478 $ $NHDT-Date: 1615911117 2021/03/16 16:11:57 $
General Fixes and Modified Features
-----------------------------------
message window
X11: when trying to lookup scrollbars in order to handle scrolling via keys,
menu handling always ended up finding the top window
+X11: enable horizontal scrollbar for persistent inventory window
X11+OSX: after the "bad Atom" fix (below), the persistent inventory window
crept downward every time it got updated
-/* NetHack 3.7 winmenu.c $NHDT-Date: 1615712422 2021/03/14 09:00:22 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.46 $ */
+/* NetHack 3.7 winmenu.c $NHDT-Date: 1615911117 2021/03/16 16:11:57 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.48 $ */
/* Copyright (c) Dean Luick, 1992 */
/* NetHack may be freely redistributed. See license for details. */
num_args = 0;
XtSetArg(args[num_args], nhStr(XtNallowVert), True); num_args++;
- XtSetArg(args[num_args], nhStr(XtNallowHoriz), False); num_args++;
+ /* allow horizontal scroll bar for persistent inventory window;
+ it could be allowed for any menu, but when scrolled to the side
+ the selector letters aren't visible so we won't do that [yet?] */
+ XtSetArg(args[num_args], nhStr(XtNallowHoriz), permi ? True : False);
+ num_args++;
XtSetArg(args[num_args], nhStr(XtNuseBottom), True); num_args++;
XtSetArg(args[num_args], nhStr(XtNuseRight), True); num_args++;
#if 0