diff --git a/doc/fixes5-0-1.txt b/doc/fixes5-0-1.txt index fd3944165..c39fb8b45 100644 --- a/doc/fixes5-0-1.txt +++ b/doc/fixes5-0-1.txt @@ -246,6 +246,7 @@ X11: improve TTY-style status line with text attributes for status hilites, hitpointbar, some unicode support, 3-line status X11: fix menu windows being taller than the screen X11: allow menu scrolling by pageup/pagedown/home/end keys +X11: toggle off perm_invent if user closes the perm inventory window General New Features diff --git a/win/X11/winmenu.c b/win/X11/winmenu.c index 927e99e77..09bcd50a3 100644 --- a/win/X11/winmenu.c +++ b/win/X11/winmenu.c @@ -616,6 +616,8 @@ menu_popdown(struct xwindow *wp) wp->w = wp->popup = (Widget) 0; if (wp->menu_information->is_active) exit_x_event = TRUE; /* exit our event handler */ + if (wp->menu_information->permi) + iflags.perm_invent = FALSE; wp->menu_information->is_up = FALSE; /* menu is down */ }