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.160 by sf-exg, Thu Aug 11 08:37:17 2011 UTC vs.
Revision 1.161 by sf-exg, Thu Aug 11 08:39:10 2011 UTC

298 } 298 }
299 else if (!strcasecmp (arr[i], "propscale")) 299 else if (!strcasecmp (arr[i], "propscale"))
300 { 300 {
301 new_flags |= BG_PROP_SCALE; 301 new_flags |= BG_PROP_SCALE;
302 } 302 }
303 else if (!strcasecmp (arr[i], "hscale"))
304 {
305 w = windowScale;
306 h = noScale;
307 geom_flags |= WidthValue|HeightValue;
308 }
309 else if (!strcasecmp (arr[i], "vscale"))
310 {
311 h = windowScale;
312 w = noScale;
313 geom_flags |= WidthValue|HeightValue;
314 }
303 else if (!strcasecmp (arr[i], "scale")) 315 else if (!strcasecmp (arr[i], "scale"))
304 { 316 {
305 if (h == 0) h = windowScale;
306 if (w == 0) w = windowScale; 317 w = h = windowScale;
307
308 geom_flags |= WidthValue|HeightValue; 318 geom_flags |= WidthValue|HeightValue;
319 }
320 else if (!strcasecmp (arr[i], "auto"))
321 {
322 w = h = windowScale;
323 x = y = centerAlign;
324 geom_flags |= WidthValue|HeightValue|XValue|YValue;
309 } 325 }
310 else if (!strcasecmp (arr[i], "root")) 326 else if (!strcasecmp (arr[i], "root"))
311 { 327 {
312 new_flags |= BG_TILE|BG_ROOT_ALIGN; 328 new_flags |= BG_TILE|BG_ROOT_ALIGN;
313 w = h = noScale; 329 w = h = noScale;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines