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

@ -1010,6 +1010,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;
case MotionNotify: