summaryrefslogtreecommitdiff
path: root/openbox/event.c
diff options
context:
space:
mode:
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 5116148c..a42432a8 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)
- menu_hide(menu_visible->data);
+ ((ObMenu *)menu_visible->data)->hide(menu_visible->data);
break;
case MotionNotify: