]> Dogcows Code - chaz/openbox/commitdiff
Clear current_menu when hiding menus.
authorScott Moynes <smoynes@nexus.carleton.ca>
Tue, 29 Jul 2003 01:08:59 +0000 (01:08 +0000)
committerScott Moynes <smoynes@nexus.carleton.ca>
Tue, 29 Jul 2003 01:08:59 +0000 (01:08 +0000)
openbox/menu.c

index 99043cd52caeca139a0084999e6fab6fc9977a59..fae9dca6272d54fda6dd4e69d2b9d16e833b3a16 100644 (file)
@@ -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;
 }
This page took 0.02414 seconds and 4 git commands to generate.