X11 perm_invent: handle 'O' toggling off perm_invent
When persistent inventory window is up, remove it if 'perm_invent' option gets set to False. This has a side-effect of fixing the end-of-game prompting problem it caused.
This commit is contained in:
@@ -1,14 +1,11 @@
|
||||
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 first populated, focus is given to
|
||||
its window (behavior might be window manager-specific; it happens with
|
||||
default window manager on OSX). Focus should be explicitly directed
|
||||
back to the main window.
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user