projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a3bcbd
)
Makes a simple click not so accidently annoying by making it not
author
Scott Moynes
<smoynes@nexus.carleton.ca>
Mon, 30 Jun 2003 23:06:50 +0000
(23:06 +0000)
committer
Scott Moynes
<smoynes@nexus.carleton.ca>
Mon, 30 Jun 2003 23:06:50 +0000
(23:06 +0000)
execute a menu action if nothing is highlighted.
openbox/event.c
patch
|
blob
|
history
diff --git
a/openbox/event.c
b/openbox/event.c
index 9433f3f454febc6aae878c5bcf7da91c476d03db..bb76f2fdc0331d5a2a385816b152fb4a43a296f2 100644
(file)
--- 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;
}