all repos — openbox @ dd33644de425ce545f17e9fc0f8ead05aa5bc01f

openbox fork - make it a bit more like ryudo

Close menu properly on unbound keys.
Scott Moynes smoynes@nexus.carleton.ca
commit

dd33644de425ce545f17e9fc0f8ead05aa5bc01f

parent

f6ad401dabc52f9841323f93b89b2169afbdaacc

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

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

@@ -1093,7 +1093,7 @@ }

/* will call the menu_hide() for each submenu as well */ if (!it) - menu_hide(menu_visible->data); + ((ObMenu *)menu_visible->data)->hide(menu_visible->data); break; case MotionNotify:
M openbox/menu.copenbox/menu.c

@@ -581,8 +581,7 @@

break; } default: - if (current_menu) - current_menu->hide(current_menu); + ((ObMenu *)menu_visible->data)->hide(menu_visible->data); } return; }