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.243 by sf-exg, Sun Jun 17 17:06:47 2012 UTC vs.
Revision 1.244 by root, Sun Jun 17 21:58:18 2012 UTC

319 else 319 else
320 img->repeat_mode (RepeatNone); 320 img->repeat_mode (RepeatNone);
321 img->sub_rect (-x, -y, parent_width, parent_height)->replace (img); 321 img->sub_rect (-x, -y, parent_width, parent_height)->replace (img);
322 322
323 if (bg_flags & BG_IS_VALID) 323 if (bg_flags & BG_IS_VALID)
324 { 324 bg_img->draw (img, PictOpOver, image.alpha * 1. / 0xffff);
325 double factor = image.alpha * 1. / 0xffff;
326 bg_img->blend (img, factor)->replace (img);
327 }
328 325
329 XRenderPictFormat *format = XRenderFindVisualFormat (dpy, visual); 326 XRenderPictFormat *format = XRenderFindVisualFormat (dpy, visual);
330 img->convert_format (format, pix_colors [Color_bg])->replace (img); 327 img->convert_format (format, pix_colors [Color_bg])->replace (img);
331 328
332 delete bg_img; 329 delete bg_img;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines