From: Scott Moynes Date: Tue, 29 Jul 2003 01:08:59 +0000 (+0000) Subject: Clear current_menu when hiding menus. X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=3b62c85b6041b9f18c4cbd8edc45bb43774012ec;p=chaz%2Fopenbox Clear current_menu when hiding menus. --- diff --git a/openbox/menu.c b/openbox/menu.c index 99043cd5..fae9dca6 100644 --- a/openbox/menu.c +++ b/openbox/menu.c @@ -582,6 +582,7 @@ void menu_control_keyboard_nav(unsigned int key) } default: ((ObMenu *)menu_visible->data)->hide(menu_visible->data); + current_menu = NULL; } return; }