diff options
author | Daniel Friesel <derf@finalrewind.org> | 2015-05-23 09:33:20 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2015-05-23 09:33:53 +0200 |
commit | 82f6f0a4a7926d4d9fb8ba1fe99a9d71a2d7c798 (patch) | |
tree | e729ddad9d06cc0092176e26a8bedc7385feed73 /src | |
parent | 849103d86551d44fdb30152da51ca6927666001c (diff) |
winwidget: resize: only check scale_down when not in fullscreen mode (closes #192)
Diffstat (limited to 'src')
-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 a1b78d3..65cefca 100644 --- a/src/winwidget.c +++ b/src/winwidget.c @@ -443,8 +443,8 @@ void winwidget_render_image(winwidget winwid, int resize, int force_alias) feh_calc_needed_zoom(&(winwid->zoom), winwid->im_w, winwid->im_h, winwid->w, winwid->h); - if (resize && !opt.scale_down && (winwid->full_screen - || (opt.geom_flags & (WidthValue | HeightValue)))) { + if (resize && (winwid->full_screen + || (!opt.scale_down && (opt.geom_flags & (WidthValue | HeightValue))))) { int smaller; /* Is the image smaller than screen? */ int max_w = 0, max_h = 0; |