diff options
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); |