-NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.448 $ $NHDT-Date: 1612912018 2021/02/09 23:06:58 $
+NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.450 $ $NHDT-Date: 1613171268 2021/02/12 23:07:48 $
General Fixes and Modified Features
-----------------------------------
became separate glyphs
X11: for text map without color, add support for black&white ice; draw it in
inverse video to distinguish from ordinary floor
+X11+OSX: after the "bad Atom" fix (below), the persistent inventory window
+ crept downward every time it got updated
Platform- and/or Interface-Specific Fixes
--- /dev/null
+End of game stalls after death is reported if the persistent inventory
+window is shown at the time. Closing it manually lets the game-over
+sequence proceed. Answering 'y' to "Really quit?" and any valid response
+to "Dump core?" behaves likewise.
+
+Toggling 'perm_invent' Off with the 'O' command while the persistent
+inventory window is displayed does not remove it.
+
+Starting or restoring a game with 'perm_invent' enabled via config file
+or NETHACKOPTIONS does not begin with inventory shown.
+
+When persistent inventory window is displayed, an update that ought to
+make it grow won't do so even if there is room on the screen for that.
+It will add scrollbar(s) when not already there, and it can be resized
+manually.
-/* NetHack 3.7 winX.c $NHDT-Date: 1613011899 2021/02/11 02:51:39 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.94 $ */
+/* NetHack 3.7 winX.c $NHDT-Date: 1613171266 2021/02/12 23:07:46 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.95 $ */
/* Copyright (c) Dean Luick, 1992 */
/* NetHack may be freely redistributed. See license for details. */
unsigned char *data = 0;
long *extents;
- *top = *bottom = *left = *right = 0L;
-
prop = XInternAtom(dpy, "_NET_FRAME_EXTENTS", True);
- if (prop == None)
+ if (prop == None) {
+ /*
+ * FIXME!
+ */
+#ifdef MACOSX
+ /*
+ * Default window manager doesn't support _NET_FRAME_EXTENTS.
+ * Without this position tweak, the persistent inventory window
+ * creeps downward by approximately the height of its title bar
+ * and also a smaller amount to the left every time it gets
+ * updated. Caveat: amount determined by trial and error and
+ * could change depending upon monitor resolution....
+ */
+ *top = 22;
+ *left = 0;
+#endif
return;
+ }
while (XGetWindowProperty(dpy, win, prop,
0, 4, False, AnyPropertyType,