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

Comparing rxvt-unicode/src/rxvtimg.C (file contents):
Revision 1.67 by root, Sat Jun 9 11:13:14 2012 UTC vs.
Revision 1.68 by root, Sat Jun 9 11:14:35 2012 UTC

368 368
369 if (extract (-65535, 0, r, g, b, a, mask_c.red, mask_c.green, mask_c.blue, mask_c.alpha)) 369 if (extract (-65535, 0, r, g, b, a, mask_c.red, mask_c.green, mask_c.blue, mask_c.alpha))
370 { 370 {
371 XRenderColor mask_w = { 65535, 65535, 65535, 65535 }; 371 XRenderColor mask_w = { 65535, 65535, 65535, 65535 };
372 XRenderFillRectangle (dpy, PictOpDifference, dst, &mask_w, 0, 0, w, h); 372 XRenderFillRectangle (dpy, PictOpDifference, dst, &mask_w, 0, 0, w, h);
373 mask_c.red = -mask_c.red;
374 mask_c.green = -mask_c.green;
375 mask_c.blue = -mask_c.blue;
376 mask_c.alpha = -mask_c.alpha;
373 XRenderFillRectangle (dpy, PictOpAdd, dst, &mask_c, 0, 0, w, h); 377 XRenderFillRectangle (dpy, PictOpAdd, dst, &mask_c, 0, 0, w, h);
374 XRenderFillRectangle (dpy, PictOpDifference, dst, &mask_w, 0, 0, w, h); 378 XRenderFillRectangle (dpy, PictOpDifference, dst, &mask_w, 0, 0, w, h);
375 } 379 }
376 } 380 }
377 381

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines