diff options
author | ulteq <ulteq@web.de> | 2018-01-11 10:51:43 +0100 |
---|---|---|
committer | ulteq <ulteq@web.de> | 2018-03-10 21:30:54 +0100 |
commit | 4f347623187269bf959d8cfe1ee70da1c8262d33 (patch) | |
tree | dbf03a8b4288a2e591ce6b0c26863c3295e768d0 /src | |
parent | acada1a7153a43f4fd18cfb15ac7b0278e0d4727 (diff) |
Fix draw checks condition
Diffstat (limited to 'src')
-rw-r--r-- | src/winwidget.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/winwidget.c b/src/winwidget.c index 1ce7e61..a928a18 100644 --- a/src/winwidget.c +++ b/src/winwidget.c @@ -445,8 +445,9 @@ void winwidget_render_image(winwidget winwid, int resize, int force_alias) if (!winwid->full_screen && ((gib_imlib_image_has_alpha(winwid->im)) || (opt.geom_flags & (WidthValue | HeightValue)) - || (winwid->im_x || winwid->im_y) || (winwid->zoom != 1.0) - || (winwid->w > winwid->im_w || winwid->h > winwid->im_h) + || (winwid->im_x || winwid->im_y) + || (winwid->w > winwid->im_w * winwid->zoom) + || (winwid->h > winwid->im_h * winwid->zoom) || (winwid->has_rotated))) feh_draw_checks(winwid); |