1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-28 01:35:32 +00:00

Fix: redraw main menu when one cancels it by clicking outside menu space.

This commit is contained in:
Laurent MONIN 2006-06-07 16:33:14 +02:00 committed by Laurent MONIN
parent ef37161070
commit 3e4bf0cf27

View File

@ -1070,6 +1070,8 @@ mainmenu_mouse_handler(struct menu *menu, struct term_event *ev)
if (ev->info.mouse.y) {
if (check_mouse_action(ev, B_DOWN)) {
deselect_mainmenu(win->term, menu);
display_mainmenu(win->term, menu);
}
return;
}