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.176 by sf-exg, Mon Dec 12 13:56:03 2011 UTC vs.
Revision 1.178 by mikachu, Sat Dec 17 01:05:09 2011 UTC

242 geom_flags |= WidthValue|HeightValue; 242 geom_flags |= WidthValue|HeightValue;
243 } 243 }
244 else if (!strcasecmp (arr[i], "propscale")) 244 else if (!strcasecmp (arr[i], "propscale"))
245 { 245 {
246 new_flags |= BG_KEEP_ASPECT; 246 new_flags |= BG_KEEP_ASPECT;
247 w = h = windowScale;
248 geom_flags |= WidthValue|HeightValue;
247 } 249 }
248 else if (!strcasecmp (arr[i], "hscale")) 250 else if (!strcasecmp (arr[i], "hscale"))
249 { 251 {
250 new_flags |= BG_TILE; 252 new_flags |= BG_TILE;
251 w = windowScale; 253 w = windowScale;
1275 bg_pmap_width = window_width; 1277 bg_pmap_width = window_width;
1276 bg_pmap_height = window_height; 1278 bg_pmap_height = window_height;
1277 } 1279 }
1278 1280
1279 /* straightforward pixmap copy */ 1281 /* straightforward pixmap copy */
1280 while (sx < 0) sx += root_width; 1282 while (sx < 0) sx += root_pmap_width;
1281 while (sy < 0) sy += root_height; 1283 while (sy < 0) sy += root_pmap_height;
1282 1284
1283 gcv.tile = recoded_root_pmap; 1285 gcv.tile = recoded_root_pmap;
1284 gcv.fill_style = FillTiled; 1286 gcv.fill_style = FillTiled;
1285 gcv.ts_x_origin = -sx; 1287 gcv.ts_x_origin = -sx;
1286 gcv.ts_y_origin = -sy; 1288 gcv.ts_y_origin = -sy;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines