summaryrefslogtreecommitdiff
path: root/openbox/event.c
diff options
context:
space:
mode:
authorScott Moynes <smoynes@nexus.carleton.ca>2003-07-29 01:29:12 +0000
committerScott Moynes <smoynes@nexus.carleton.ca>2003-07-29 01:29:12 +0000
commitdf0f00848aaa95fb2147634446b2a66fa6820865 (patch)
tree3aea34739b6bc3c9ed8557083f18d3e704e415f6 /openbox/event.c
parent3b62c85b6041b9f18c4cbd8edc45bb43774012ec (diff)
more menu fixes.
I hate menus.
Diffstat (limited to 'openbox/event.c')
-rw-r--r--openbox/event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/event.c b/openbox/event.c
index a42432a8..23d3e32d 100644
--- a/openbox/event.c
+++ b/openbox/event.c
@@ -1093,7 +1093,7 @@ static void event_handle_menu(ObClient *client, XEvent *e)
/* will call the menu_hide() for each submenu as well */
if (!it)
- ((ObMenu *)menu_visible->data)->hide(menu_visible->data);
+ menu_control_keyboard_nav(ob_keycode(OB_KEY_ESCAPE));
break;
case MotionNotify: