Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
If weston.ini is not setting background-image path, then desktop-shell sets ${DATDIR}/weston/pattern.png as background. However in this case width and height is set to 1 during background config and is being scaled to avoid allocation of buffer.
This behavior is not right. Along with background-image path, we should also check if background-color is set. If background color is set, then only scale 1x1 buffer.
This would allow to set pattern.png as default wallpaper of weston correctly, if background-color is also not set in weston.ini file.
Fixes: 3623e46d Signed-off-by: Tanmay Shah tanmay@codeaurora.org