diff options
author | Daniel Friesel <derf@finalrewind.org> | 2016-04-16 18:36:07 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2016-04-16 18:36:07 +0200 |
commit | 194755b8e75cfebe309dbf8a151b8fe9bbdaca2f (patch) | |
tree | 8869b463666d09289fa25679ce41051777c795f4 | |
parent | fb57df086a073d4e677760639f1ac90478dbc8d6 (diff) |
bugfix and version bump (closes #230)2.15.2
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/winwidget.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Sat, 16 Apr 2016 18:32:38 +0200 + +* Release v2.15.2 + * Fix --keep-zoom-vp not keeping the viewport x/y offsets (broken by 2.15) + Fri, 15 Apr 2016 10:18:37 +0200 Daniel Friesel <derf+feh@finalrewind.org> * Release v2.15.1 diff --git a/src/winwidget.c b/src/winwidget.c index 3641eb9..7b178b6 100644 --- a/src/winwidget.c +++ b/src/winwidget.c @@ -519,7 +519,7 @@ void winwidget_render_image(winwidget winwid, int resize, int force_alias) } } else if (need_center && !winwid->full_screen - && (winwid->type != WIN_TYPE_THUMBNAIL)) { + && (winwid->type != WIN_TYPE_THUMBNAIL) && !opt.keep_zoom_vp) { winwid->im_x = (int) (winwid->w - (winwid->im_w * winwid->zoom)) >> 1; winwid->im_y = (int) (winwid->h - (winwid->im_h * winwid->zoom)) >> 1; } |