On Mon, 14 Mar 2005 08:59:56 -0600, Peter Evans <[EMAIL PROTECTED]> wrote: > over the weekend i worked on a few patches to address some fixmes in > e_menu.c. there had been some issues due to the fact that while > active menus were tracked in e_menu.c, THE active menu was not -- nor > was THE active menu item -- which meant that any code that had to find > such objects had to perform linear searches through the active menu > list. this patch allows e_menu.c to track the active menu, and allows > each menu to track a particular active menu item, thus dispelling the > need for those searches. > > i tested this by generally going crazy with menus, mousing around, > selecting things -- things work for me. give it a try.
i did encounter one problem with the patch -- clicking on a menu item, dragging the mouse away, and lifting up could cause a segv. this patch should fix that, and plug in a few potential spots for crashes as well.
menu_segv.patch
Description: Binary data
