summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-08-23 14:59:52 +0200
committerDaniel Friesel <derf@finalrewind.org>2011-08-23 14:59:52 +0200
commit67e41d607413d8e95124b1d28b6ae74924e74ab9 (patch)
treed4db9446dee616567cb038ee3593648deb170f4e /src
parenta4794cb4196effcca4b3c7e1253a46f641c46107 (diff)
imlib.c: feh_draw_info: Fix info box offsets
The info text used to be located 2px away from the bottom / left edges. Now that --draw-tinted has been implemented, that leaves us with an ugly edge, so move it directly to the edge.
Diffstat (limited to 'src')
-rw-r--r--src/imlib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/imlib.c b/src/imlib.c
index 3259e4d..ee439b2 100644
--- a/src/imlib.c
+++ b/src/imlib.c
@@ -571,8 +571,8 @@ void feh_draw_info(winwidget w)
}
- gib_imlib_render_image_on_drawable(w->bg_pmap, im, 2,
- w->h - (th * no_lines) - 2, 1, 1, 0);
+ gib_imlib_render_image_on_drawable(w->bg_pmap, im, 0,
+ w->h - (th * no_lines), 1, 1, 0);
gib_imlib_free_image_and_decache(im);
return;