]> Dogcows Code - chaz/openbox/commitdiff
more menu fixes.
authorScott Moynes <smoynes@nexus.carleton.ca>
Tue, 29 Jul 2003 01:29:12 +0000 (01:29 +0000)
committerScott Moynes <smoynes@nexus.carleton.ca>
Tue, 29 Jul 2003 01:29:12 +0000 (01:29 +0000)
I hate menus.

openbox/event.c

index a42432a87f4bba68de58fbef584f5beafb3ab897..23d3e32df448a70d7b5e80ba0bfc941639c235d5 100644 (file)
@@ -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:
This page took 0.023769 seconds and 4 git commands to generate.