simple menu: make ONTIMEOUT work with MENU HIDDEN
authorSergey Vlasov <vsu@altlinux.ru>
Thu, 4 Jun 2009 15:14:48 +0000 (19:14 +0400)
committerH. Peter Anvin <hpa@zytor.com>
Thu, 4 Jun 2009 16:38:37 +0000 (09:38 -0700)
commited6f352b62233c155abf446f57d2b9dc7a6b1e87
treebd3a75dee12ec3b6bca78bfd727a6325b0f542f4
parentba03136d0d40bf219b4923855a3a2b20c03babd7
simple menu: make ONTIMEOUT work with MENU HIDDEN

The command invoked when no keys were pressed for the specified time
(ONTIMEOUT) may be different from the menu item initially selected
when the menu is displayed (DEFAULT or MENU DEFAULT).  Unfortunately,
this did not work together with MENU HIDDEN (which is exactly the case
when having a separate ONTIMEOUT command makes the most sense).

Signed-off-by: Sergey Vlasov <vsu@altlinux.ru>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
NEWS
com32/menu/menumain.c