scrollbar handling by X11
Looking up scrollbars did not work as intended. The code wanted an ancestor widget that had both horizontal and vertical scrollbars, but menus either have none or just vertical. The lookup code found some top level widget and returned bad data.
This commit is contained in:
@@ -559,6 +559,8 @@ X11: if perm_invent is set in NETHACKOPTIONS or config file, start with the
|
||||
persistent inventory window displayed
|
||||
X11: use visctrl(response) when X11_yn_function() echoes prompt+response in
|
||||
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+OSX: after the "bad Atom" fix (below), the persistent inventory window
|
||||
crept downward every time it got updated
|
||||
|
||||
|
||||
Reference in New Issue
Block a user