Close menu on click if outside the menu.

I think, haven't tested.
This commit is contained in:
Scott Moynes 2003-07-26 19:58:22 +00:00
parent 702995014a
commit b8715ba309

View file

@ -1011,6 +1011,10 @@ static void event_handle_menu(ObClient *client, XEvent *e)
} }
} }
/* will call the menu_hide() for each submenu as well */
if (!it)
menu_hide(menu_visible->data);
break; break;
case MotionNotify: case MotionNotify:
ob_debug("motion\n"); ob_debug("motion\n");