… | |
… | |
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 |
64 | void |
63 | void |
65 | rxvt_term::bg_destroy () |
64 | rxvt_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; |