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:
f8aab34
)
make mouse clicks higher up in the menu select the submenu
author
Dana Jansens
<danakj@orodu.net>
Mon, 28 May 2007 03:48:04 +0000
(
03:48
+0000)
committer
Dana Jansens
<danakj@orodu.net>
Mon, 28 May 2007 03:48:04 +0000
(
03:48
+0000)
openbox/event.c
patch
|
blob
|
history
diff --git
a/openbox/event.c
b/openbox/event.c
index 1b387bdfb39c92e4574682eeeb5b0b5acf94561c..9b3021b40eb5105ef0eb2c50c0e1ace1e50c4c31 100644
(file)
--- a/
openbox/event.c
+++ b/
openbox/event.c
@@
-1682,8
+1682,11
@@
static gboolean event_handle_menu(XEvent *ev)
{
if ((e = menu_entry_frame_under(ev->xbutton.x_root,
ev->xbutton.y_root)))
+ {
+ menu_frame_select(e->frame, e, TRUE);
menu_entry_frame_execute(e, ev->xbutton.state,
ev->xbutton.time);
+ }
else
menu_frame_hide_all();
}