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.28 by root, Wed Jun 6 20:22:03 2012 UTC vs.
Revision 1.29 by root, Wed Jun 6 20:55:36 2012 UTC

434 Display *dpy = s->display->dpy; 434 Display *dpy = s->display->dpy;
435 Picture src = XRenderCreatePicture (dpy, pm, format, 0, 0); 435 Picture src = XRenderCreatePicture (dpy, pm, format, 0, 0);
436 Picture dst = XRenderCreatePicture (dpy, img->pm, new_format, 0, 0); 436 Picture dst = XRenderCreatePicture (dpy, img->pm, new_format, 0, 0);
437 int op = PictOpSrc; 437 int op = PictOpSrc;
438 438
439 printf ("fa %x,%x fb %x,%x\n", format->direct.alpha, format->direct.alphaMask, new_format->direct.alpha, new_format->direct.alphaMask);//D
440
441 if (format->direct.alpha && !new_format->direct.alpha) 439 if (format->direct.alphaMask && !new_format->direct.alphaMask)
442 { 440 {
443 // does it have to be that complicated 441 // does it have to be that complicated
444 rgba c; 442 rgba c;
445 bg.get (c); 443 bg.get (c);
446 444

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines