From 19df0324a6f9083e6a8b3fd70a5ce14627bd4f6d Mon Sep 17 00:00:00 2001 From: Scott Moynes Date: Mon, 30 Jun 2003 23:06:50 +0000 Subject: [PATCH] Makes a simple click not so accidently annoying by making it not execute a menu action if nothing is highlighted. --- openbox/event.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openbox/event.c b/openbox/event.c index 9433f3f4..bb76f2fd 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -1040,9 +1040,9 @@ static void event_handle_menu(Client *client, XEvent *e) menu_control_mouseover(over, FALSE); menu_entry_render(over); over = NULL; + /* this hides the menu */ + menu_entry_fire(entry); } - /* this hides the menu */ - menu_entry_fire(entry); } break; } -- 2.39.2