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.156 by sf-exg, Tue Aug 9 18:41:31 2011 UTC vs.
Revision 1.157 by sf-exg, Tue Aug 9 21:48:00 2011 UTC

55 * background not covered by the image is filled with the 55 * background not covered by the image is filled with the
56 * current background color. 56 * current background color.
57 * hscale Scale horizontally, tile vertically ? 57 * hscale Scale horizontally, tile vertically ?
58 * vscale Tile horizontally, scale vertically ? 58 * vscale Tile horizontally, scale vertically ?
59 * scale Scale both up and down 59 * scale Scale both up and down
60 * auto Same as 100x100+50+50
61 */ 60 */
62 61
63#ifdef HAVE_BG_PIXMAP 62#ifdef HAVE_BG_PIXMAP
64void 63void
65rxvt_term::bg_destroy () 64rxvt_term::bg_destroy ()
288 { 287 {
289 if (h == 0) h = windowScale; 288 if (h == 0) h = windowScale;
290 if (w == 0) w = windowScale; 289 if (w == 0) w = windowScale;
291 290
292 geom_flags |= WidthValue|HeightValue; 291 geom_flags |= WidthValue|HeightValue;
293 }
294 else if (!strcasecmp (arr[i], "auto"))
295 {
296 w = h = windowScale;
297 x = y = centerAlign;
298 geom_flags |= WidthValue|HeightValue|XValue|YValue;
299 } 292 }
300 else if (!strcasecmp (arr[i], "root")) 293 else if (!strcasecmp (arr[i], "root"))
301 { 294 {
302 new_flags |= BG_TILE|BG_ROOT_ALIGN; 295 new_flags |= BG_TILE|BG_ROOT_ALIGN;
303 w = h = noScale; 296 w = h = noScale;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines