ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/background.C
(Generate patch)

Comparing rxvt-unicode/src/background.C (file contents):
Revision 1.122 by sf-exg, Sat Nov 20 11:30:58 2010 UTC vs.
Revision 1.123 by sf-exg, Tue Nov 23 08:37:37 2010 UTC

949 && IS_COMPONENT_WHOLESOME (c.b)) 949 && IS_COMPONENT_WHOLESOME (c.b))
950 flags |= bgPixmap_t::tintWholesome; 950 flags |= bgPixmap_t::tintWholesome;
951# undef IS_COMPONENT_WHOLESOME 951# undef IS_COMPONENT_WHOLESOME
952 } 952 }
953 953
954 if (has_shade) 954 if (has_shade || tint)
955 flags |= bgPixmap_t::tintNeeded; 955 flags |= bgPixmap_t::tintNeeded;
956 else if (tint)
957 {
958 if ((c.r > 0x000700 || c.g > 0x000700 || c.b > 0x000700)
959 && (c.r < 0x00f700 || c.g < 0x00f700 || c.b < 0x00f700))
960 {
961 flags |= bgPixmap_t::tintNeeded;
962 }
963 }
964 956
965 return flags; 957 return flags;
966} 958}
967 959
968bool 960bool

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines