properly select the first menu item in the child menu when using the 'right' keycode
Dana Jansens danakj@orodu.net
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
openbox/event.c
→
openbox/event.c
@@ -1200,8 +1200,8 @@ if ((f = find_active_menu()) && f->parent)
menu_frame_select(f, NULL); } else if (ev->xkey.keycode == ob_keycode(OB_KEY_RIGHT)) { ObMenuFrame *f; - if ((f = find_active_menu()) && f->child && f->child->entries) - menu_frame_select(f->child, f->child->entries->data); + if ((f = find_active_menu()) && f->child) + menu_frame_select_next(f->child); } else if (ev->xkey.keycode == ob_keycode(OB_KEY_UP)) { ObMenuFrame *f; if ((f = find_active_menu()))