diff options
author | Daniel Friesel <derf@finalrewind.org> | 2011-06-07 12:17:21 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2011-06-07 12:17:21 +0200 |
commit | 20dc3679e2ed4840c7b4db9aca43361222214199 (patch) | |
tree | 2661714aed1f1ce37dd0ec53dd953f312880b8c1 /src/winwidget.c | |
parent | 481a0ec264aab1509f83334e66d929154ceb1d74 (diff) |
Add toggle_info key (closes #48)
Diffstat (limited to 'src/winwidget.c')
-rw-r--r-- | src/winwidget.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/winwidget.c b/src/winwidget.c index 57a8b1d..a678781 100644 --- a/src/winwidget.c +++ b/src/winwidget.c @@ -562,7 +562,7 @@ void winwidget_render_image(winwidget winwid, int resize, int force_alias) feh_draw_filename(winwid); if (opt.draw_actions) feh_draw_actions(winwid); - if (opt.info_cmd) + if (opt.draw_info && opt.info_cmd) feh_draw_info(winwid); if (winwid->errstr) feh_draw_errstr(winwid); @@ -589,7 +589,7 @@ void winwidget_render_image_cached(winwidget winwid) feh_draw_filename(winwid); if (opt.draw_actions) feh_draw_actions(winwid); - if (opt.info_cmd) + if (opt.draw_info && opt.info_cmd) feh_draw_info(winwid); XSetWindowBackgroundPixmap(disp, winwid->win, winwid->bg_pmap); XClearWindow(disp, winwid->win); |