projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7029950
)
Close menu on click if outside the menu.
author
Scott Moynes
<smoynes@nexus.carleton.ca>
Sat, 26 Jul 2003 19:58:22 +0000
(19:58 +0000)
committer
Scott Moynes
<smoynes@nexus.carleton.ca>
Sat, 26 Jul 2003 19:58:22 +0000
(19:58 +0000)
I think, haven't tested.
openbox/event.c
patch
|
blob
|
history
diff --git
a/openbox/event.c
b/openbox/event.c
index
366c91a
..
69c8510
100644
(file)
--- a/
openbox/event.c
+++ b/
openbox/event.c
@@
-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: