Revert "A fix for delayed hiding of submenus."

This reverts commit 1fb198410e.
This commit is contained in:
Dana Jansens 2009-12-22 09:31:24 -05:00
parent c6370aa48a
commit 775f60852a

View file

@ -1838,7 +1838,8 @@ static gboolean event_handle_menu(XEvent *ev)
break;
if ((e = g_hash_table_lookup(menu_frame_map, &ev->xcrossing.window)) &&
(f = find_active_menu()) && f->selected == e)
(f = find_active_menu()) && f->selected == e &&
e->entry->type != OB_MENU_ENTRY_TYPE_SUBMENU)
{
ObMenuEntryFrame *u = menu_entry_frame_under(ev->xcrossing.x_root,
ev->xcrossing.y_root);