]> granicus.if.org Git - nethack/commit
extended command menu for X11
authorPatR <rankin@nethack.org>
Sun, 14 Feb 2016 02:06:50 +0000 (18:06 -0800)
committerPatR <rankin@nethack.org>
Sun, 14 Feb 2016 02:06:50 +0000 (18:06 -0800)
commitd91b2e5fd751b24dc6b69a9b71fd99702fb5bb78
tree6c04a3b54cdc9d5f4eb0846ce5033c363ab2ef09
parent87edc53f3161b63fa68cb81fcd6239d9b1fe21cc
extended command menu for X11

When the extended command menu is big enough to need a scrollbar,
leave more elbow room when forcing its height to fit on screen.
The last entry was frequently obscured by OSX's "docking tray"
desktop decoration and the resize hotspot (bottom right corner of
the menu popup) could be hard to access.

I'm not particularly happy with this code.  There really has to be
a better way to accomplish what's needed.
win/X11/winmisc.c