-- 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: 1b370d7944e0f4daa4505ba774740fddc75b581e:
path_to:
revision_to:

git.thebackupbox.net

rxvt-unicode-sixel

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

commit 1b370d7944e0f4daa4505ba774740fddc75b581e
Author: Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
Date:   Tue Nov 23 08:37:37 2010 +0000

    Do not disable tinting for some colours.

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

index 126c37a8644ff15d803ca07a48896bbdf355e5ee..

index ..56dae2bd2a45013791a4a6fdb84f1e88c14f2ae3 100644

--- a/src/background.C
+++ b/src/background.C
@@ -951,16 +951,8 @@ compute_tint_shade_flags (rxvt_color *tint, int shade)
 #  undef  IS_COMPONENT_WHOLESOME
     }

-  if (has_shade)
+  if (has_shade || tint)
     flags |= bgPixmap_t::tintNeeded;
-  else if (tint)
-    {
-      if ((c.r > 0x000700 || c.g > 0x000700 || c.b > 0x000700)
-          && (c.r < 0x00f700 || c.g < 0x00f700 || c.b < 0x00f700))
-        {
-          flags |= bgPixmap_t::tintNeeded;
-        }
-    }

   return flags;
 }

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

-- Response ended

-- Page fetched on Sun Jun 2 11:43:36 2024