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

Comparing rxvt-unicode/src/xpm.C (file contents):
Revision 1.24 by root, Sun Dec 18 00:59:42 2005 UTC vs.
Revision 1.26 by root, Sat Dec 31 17:16:17 2005 UTC

136 if (flags & XNegative) 136 if (flags & XNegative)
137 x += 100; 137 x += 100;
138 if (flags & YNegative) 138 if (flags & YNegative)
139 y += 100; 139 y += 100;
140 } 140 }
141 MIN_IT (x, 100); 141 min_it (x, 100);
142 MIN_IT (y, 100); 142 min_it (y, 100);
143 MAX_IT (x, 0); 143 max_it (x, 0);
144 MAX_IT (y, 0); 144 max_it (y, 0);
145 if (bgpixmap->x != x) 145 if (bgpixmap->x != x)
146 { 146 {
147 bgpixmap->x = x; 147 bgpixmap->x = x;
148 changed++; 148 changed++;
149 } 149 }
171 171
172 if (bgPixmap.pixmap == None) 172 if (bgPixmap.pixmap == None)
173 { /* So be it: I'm not using pixmaps */ 173 { /* So be it: I'm not using pixmaps */
174 pixmap = None; 174 pixmap = None;
175 175
176 if (!(options & Opt_transparent) || !am_transparent) 176 if (!OPTION (Opt_transparent) || !am_transparent)
177 XSetWindowBackground (disp, vt, 177 XSetWindowBackground (disp, vt,
178 pix_colors[Color_bg]); 178 pix_colors[Color_bg]);
179 179
180 return; 180 return;
181 } 181 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines