Close menu on click if outside the menu. I think, haven't tested.
Scott Moynes smoynes@nexus.carleton.ca
1 files changed,
4 insertions(+),
0 deletions(-)
jump to
M
openbox/event.c
→
openbox/event.c
@@ -1010,6 +1010,10 @@ break;
} } } + + /* will call the menu_hide() for each submenu as well */ + if (!it) + menu_hide(menu_visible->data); break; case MotionNotify: