-- Leo's gemini proxy

-- Connecting to git.thebackupbox.net:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

repo: rxvt-unicode-sixel
action: commit
revision:
path_from:
revision_from: ac9c472414e107def711e7bebcc0f9c0d0911d4e:
path_to:
revision_to:

git.thebackupbox.net

rxvt-unicode-sixel

git://git.thebackupbox.net/rxvt-unicode-sixel

commit ac9c472414e107def711e7bebcc0f9c0d0911d4e
Author: Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
Date:   Wed Oct 6 14:52:14 2010 +0000

    Fix tiling of bg image when blending (broken after last simplification)
    and change code to always tile in both directions also in this case.

diff --git a/src/background.C b/src/background.C

index 04e5a14d9e5e5d34411c3bb500d0eaef9b6b8575..

index ..d63a5da65ec5c9ca4b743d716a2c38a6cc4cbd7c 100644

--- a/src/background.C
+++ b/src/background.C
@@ -618,7 +618,7 @@ bgPixmap_t::render_image (unsigned long background_flags)
           layers[0].tint = background_tint;
           layers[1].im = result;

-          if (w <= 0)
+          if (h_scale == 0 || v_scale == 0)
             {
               /* tile horizontally */
               while (x > 0) x -= (int)result->width;
@@ -632,7 +632,7 @@ bgPixmap_t::render_image (unsigned long background_flags)
               layers[1].clip_width = result->width;
             }

-          if (h <= 0)
+          if (h_scale == 0 || v_scale == 0)
             {
               while (y > 0) y -= (int)result->height;
               layers[1].dst_y = y;

-----END OF PAGE-----

-- Response ended

-- Page fetched on Sun Jun 2 13:56:52 2024