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

Comparing rxvt-unicode/src/main.C (file contents):
Revision 1.340 by sf-exg, Sun Dec 12 19:30:10 2010 UTC vs.
Revision 1.341 by sf-exg, Sun Dec 12 23:13:29 2010 UTC

1652 if (xa[prop_id]) 1652 if (xa[prop_id])
1653 { 1653 {
1654 int aformat; 1654 int aformat;
1655 unsigned long nitems, bytes_after; 1655 unsigned long nitems, bytes_after;
1656 Atom atype; 1656 Atom atype;
1657 unsigned char *prop = NULL; 1657 unsigned char *prop;
1658 int result = XGetWindowProperty (dpy, display->root, xa[prop_id], 1658 int result = XGetWindowProperty (dpy, display->root, xa[prop_id],
1659 0L, 1L, False, XA_PIXMAP, &atype, &aformat, 1659 0L, 1L, False, XA_PIXMAP, &atype, &aformat,
1660 &nitems, &bytes_after, &prop); 1660 &nitems, &bytes_after, &prop);
1661 if (result == Success && prop && atype == XA_PIXMAP) 1661 if (result == Success)
1662 {
1663 if (atype == XA_PIXMAP)
1662 pixmap = *(Pixmap *)prop; 1664 pixmap = *(Pixmap *)prop;
1663 XFree (prop); 1665 XFree (prop);
1666 }
1664 } 1667 }
1665 1668
1666 return pixmap; 1669 return pixmap;
1667} 1670}
1668 1671

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines