summaryrefslogtreecommitdiff
path: root/src/winwidget.c
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-06-07 12:17:21 +0200
committerDaniel Friesel <derf@finalrewind.org>2011-06-07 12:17:21 +0200
commit20dc3679e2ed4840c7b4db9aca43361222214199 (patch)
tree2661714aed1f1ce37dd0ec53dd953f312880b8c1 /src/winwidget.c
parent481a0ec264aab1509f83334e66d929154ceb1d74 (diff)
Add toggle_info key (closes #48)
Diffstat (limited to 'src/winwidget.c')
-rw-r--r--src/winwidget.c4
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);