… | |
… | |
271 | { |
271 | { |
272 | if (h == 0) h = windowScale; |
272 | if (h == 0) h = windowScale; |
273 | if (w == 0) w = windowScale; |
273 | if (w == 0) w = windowScale; |
274 | |
274 | |
275 | geom_flags |= WidthValue|HeightValue; |
275 | geom_flags |= WidthValue|HeightValue; |
|
|
276 | } |
|
|
277 | else if (!strcasecmp (arr[i], "center")) |
|
|
278 | { |
|
|
279 | w = h = noScale; |
|
|
280 | x = y = centerAlign; |
|
|
281 | geom_flags |= WidthValue|HeightValue|XValue|YValue; |
276 | } |
282 | } |
277 | else if (!strcasecmp (arr[i], "root")) |
283 | else if (!strcasecmp (arr[i], "root")) |
278 | { |
284 | { |
279 | new_flags |= BG_TILE|BG_ROOT_ALIGN; |
285 | new_flags |= BG_TILE|BG_ROOT_ALIGN; |
280 | w = h = noScale; |
286 | w = h = noScale; |