all repos — openbox @ 1fb198410e9d3ca660d91d1049249db0f2f47732

openbox fork - make it a bit more like ryudo

A fix for delayed hiding of submenus.

It fixes this:
(Mikachu) dana: i think his issue was if you have a menu with two
          submenus s1 and s2, open the s1 submenu, then point to s2 and
          go into s1, then after the delay, s1 is hidden despite you
          being inside it still, because s2 was never unselected
Dana Jansens danakj@orodu.net
commit

1fb198410e9d3ca660d91d1049249db0f2f47732

parent

01fd9f99cc5cbe4783a7b7807b51b87269250212

1 files changed, 1 insertions(+), 2 deletions(-)

jump to
M openbox/event.copenbox/event.c

@@ -1838,8 +1838,7 @@ if (ev->xcrossing.detail == NotifyInferior)

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