diff options
| author | Scott Moynes <smoynes@nexus.carleton.ca> | 2003-06-30 23:06:50 +0000 |
|---|---|---|
| committer | Scott Moynes <smoynes@nexus.carleton.ca> | 2003-06-30 23:06:50 +0000 |
| commit | 19df0324a6f9083e6a8b3fd70a5ce14627bd4f6d (patch) | |
| tree | 1ead013dd8edc5c9d0bb0f495281b6341e1f4a31 /openbox | |
| parent | 1a3bcbddbc9a7952415cf6f88f1cab3582a86ca1 (diff) | |
Makes a simple click not so accidently annoying by making it not
execute a menu action if nothing is highlighted.
Diffstat (limited to 'openbox')
| -rw-r--r-- | openbox/event.c | 4 |
1 files 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; } |
