diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2010-05-03 11:57:20 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2010-05-03 11:57:20 +0200 |
commit | 6eb1ac734e9b4383e9b7f30d51abdee52ade12db (patch) | |
tree | 5ec54a934f68386d2fc10174f39f065db13068a4 /src/keyevents.c | |
parent | b15fe14707386343085edf471d64e4a9f22f0978 (diff) | |
download | feh-6eb1ac734e9b4383e9b7f30d51abdee52ade12db.zip |
Rework menu.c & fix various compiler warnings (from menu_code) + update TODO
Diffstat (limited to 'src/keyevents.c')
-rw-r--r-- | src/keyevents.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/keyevents.c b/src/keyevents.c index 3f3cdcc..4924bcb 100644 --- a/src/keyevents.c +++ b/src/keyevents.c @@ -81,7 +81,7 @@ void feh_event_handle_keypress(XEvent * ev) feh_menu_hide(menu_root, True); break; case XK_Left: - feh_menu_select_parent(selected_menu, selected_item); + feh_menu_select_parent(selected_menu); break; case XK_Down: feh_menu_select_next(selected_menu, selected_item); @@ -90,7 +90,7 @@ void feh_event_handle_keypress(XEvent * ev) feh_menu_select_prev(selected_menu, selected_item); break; case XK_Right: - feh_menu_select_submenu(selected_menu, selected_item); + feh_menu_select_submenu(selected_menu); break; case XK_Return: feh_menu_item_activate(selected_menu, selected_item); @@ -104,7 +104,7 @@ void feh_event_handle_keypress(XEvent * ev) switch (*kbuf) { case 'h': - feh_menu_select_parent(selected_menu, selected_item); + feh_menu_select_parent(selected_menu); break; case 'j': feh_menu_select_next(selected_menu, selected_item); @@ -113,7 +113,7 @@ void feh_event_handle_keypress(XEvent * ev) feh_menu_select_prev(selected_menu, selected_item); break; case 'l': - feh_menu_select_submenu(selected_menu, selected_item); + feh_menu_select_submenu(selected_menu); break; case ' ': feh_menu_item_activate(selected_menu, selected_item); |