repo: rxvt-unicode-sixel action: commit revision: path_from: revision_from: 1b370d7944e0f4daa4505ba774740fddc75b581e: path_to: revision_to:
commit 1b370d7944e0f4daa4505ba774740fddc75b581e Author: Emanuele GiaquintaDate: 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
--- 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-----