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.36 by sf-exg, Sat Jan 30 20:52:36 2010 UTC vs.
Revision 1.37 by sf-exg, Sun Jan 31 09:02:48 2010 UTC

136# endif 136# endif
137 137
138 return false; 138 return false;
139} 139}
140 140
141bool 141bool
142bgPixmap_t::window_position_sensitive () 142bgPixmap_t::window_position_sensitive ()
143{ 143{
144# ifdef ENABLE_TRANSPARENCY 144# ifdef ENABLE_TRANSPARENCY
145 if (flags & isTransparent) 145 if (flags & isTransparent)
146 return true; 146 return true;
147# endif 147# endif
533 if (h_scale == 0 || v_scale == 0) 533 if (h_scale == 0 || v_scale == 0)
534 { 534 {
535 ASImage *tmp = tile_asimage (target->asv, result, 535 ASImage *tmp = tile_asimage (target->asv, result,
536 (h_scale > 0) ? 0 : (int)result->width - x, 536 (h_scale > 0) ? 0 : (int)result->width - x,
537 (v_scale > 0) ? 0 : (int)result->height - y, 537 (v_scale > 0) ? 0 : (int)result->height - y,
538 new_pmap_width, 538 new_pmap_width,
539 new_pmap_height, 539 new_pmap_height,
540 TINT_LEAVE_SAME, ASA_XImage, 540 TINT_LEAVE_SAME, ASA_XImage,
541 100, ASIMAGE_QUALITY_DEFAULT); 541 100, ASIMAGE_QUALITY_DEFAULT);
542 if (tmp) 542 if (tmp)
543 { 543 {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines