summaryrefslogtreecommitdiff
path: root/src/keyevents.c
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2010-02-13 16:52:11 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2010-02-13 16:52:11 +0100
commite0a94966e07e94fbcb26fc703773d54fc28a6299 (patch)
tree49d04e27d947e3c3a250ebabe160afe8089e6e76 /src/keyevents.c
parent4b27ab79db10dded5ffb08145cb7fb7d3ca68d1b (diff)
downloadfeh-e0a94966e07e94fbcb26fc703773d54fc28a6299.zip
Remove old (undocumented) Tab key binding as draw_actions toggle
Diffstat (limited to 'src/keyevents.c')
-rw-r--r--src/keyevents.c16
1 files changed, 2 insertions, 14 deletions
diff --git a/src/keyevents.c b/src/keyevents.c
index 5cdf640..aef772c 100644
--- a/src/keyevents.c
+++ b/src/keyevents.c
@@ -236,18 +236,6 @@ feh_event_handle_keypress(XEvent * ev)
if (opt.slideshow)
slideshow_change_image(winwid, SLIDE_LAST);
break;
- case XK_Tab:
- if (opt.draw_actions)
- {
- opt.draw_actions = 0;
- winwidget_rerender_all(0, 1);
- }
- else
- {
- opt.draw_actions = 1;
- winwidget_rerender_all(0, 1);
- }
- break;
case XK_Return:
feh_event_invoke_action(winwid,opt.actions[0]);
break;
@@ -334,12 +322,12 @@ feh_event_handle_keypress(XEvent * ev)
case 'a':
case 'A':
opt.draw_actions = !opt.draw_actions;
- winwidget_render_image(winwid, 0, 1);
+ winwidget_rerender_all(0, 1);
break;
case 'd':
case 'D':
opt.draw_filename = !opt.draw_filename;
- winwidget_render_image(winwid, 0, 1);
+ winwidget_rerender_all(0, 1);
break;
case 'n':
case 'N':