Revert "A fix for delayed hiding of submenus."
This reverts commit 1fb198410e
.
This commit is contained in:
parent
c6370aa48a
commit
775f60852a
1 changed files with 2 additions and 1 deletions
|
@ -1838,7 +1838,8 @@ static gboolean event_handle_menu(XEvent *ev)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
if ((e = g_hash_table_lookup(menu_frame_map, &ev->xcrossing.window)) &&
|
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,
|
ObMenuEntryFrame *u = menu_entry_frame_under(ev->xcrossing.x_root,
|
||||||
ev->xcrossing.y_root);
|
ev->xcrossing.y_root);
|
||||||
|
|
Loading…
Reference in a new issue