diff options
Diffstat (limited to 'openbox/menu.c')
| -rw-r--r-- | openbox/menu.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/openbox/menu.c b/openbox/menu.c index 0bc820ae..99043cd5 100644 --- a/openbox/menu.c +++ b/openbox/menu.c @@ -581,8 +581,7 @@ void menu_control_keyboard_nav(unsigned int key) break; } default: - if (current_menu) - current_menu->hide(current_menu); + ((ObMenu *)menu_visible->data)->hide(menu_visible->data); } return; } |
