From fdb5cd74ef64a67cf14470939182454b14df10d2 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Fri, 29 Aug 2025 17:09:03 +0200 Subject: winwidget_render_image: scale-down: fix fullscreen check We need to check whether the winwidget is fullscreen at the moment, not whether feh was started with --full-screen. Closes #794 --- src/winwidget.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/winwidget.c') diff --git a/src/winwidget.c b/src/winwidget.c index bda946a..3b90158 100644 --- a/src/winwidget.c +++ b/src/winwidget.c @@ -551,13 +551,13 @@ void winwidget_render_image(winwidget winwid, int resize, int force_alias) dh = (winwid->h - winwid->im_y); if (calc_w < dw) { dw = calc_w; - if (!opt.full_screen) { + if (!winwid->full_screen) { dx = 0; } } if (calc_h < dh) { dh = calc_h; - if (!opt.full_screen) { + if (!winwid->full_screen) { dy = 0; } } -- cgit v1.2.3