This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository legacy-imlib2.

View the commit online.

commit c6d394075d9339c886290a18078330610b48e175
Author: Kim Woelders <[email protected]>
AuthorDate: Sun Nov 13 19:37:36 2022 +0100

    imlib2_view: Fix single frame update rendering
---
 src/bin/imlib2_view.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/bin/imlib2_view.c b/src/bin/imlib2_view.c
index 64f4b19..fc4426f 100644
--- a/src/bin/imlib2_view.c
+++ b/src/bin/imlib2_view.c
@@ -376,9 +376,11 @@ progress(Imlib_Image im, char percent, int update_x, int update_y,
         r_up.w = finfo.frame_w;
         r_up.h = finfo.frame_h;
      }
-
    if (fixedframe)
-      r_up.x = r_up.y = 0;
+     {
+        r_up.x -= finfo.frame_x;
+        r_up.y -= finfo.frame_y;
+     }
 
    imlib_context_set_anti_alias(0);
    imlib_context_set_dither(0);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to