Tanmay Shah 8ef3ce5c67 clients: Fix shell background image setting.
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: 3623e46dc555ea9df34ff259530af64f0d9f0645
Signed-off-by: Tanmay Shah <tanmay@codeaurora.org>
2020-10-19 07:23:43 +00:00
..
2019-11-28 19:24:13 +00:00
2019-11-28 19:24:13 +00:00
2019-11-28 19:24:13 +00:00
2019-11-28 19:24:13 +00:00
2020-02-27 11:08:48 +00:00
2019-11-28 19:24:13 +00:00
2020-02-27 11:08:48 +00:00
2020-08-14 10:31:49 +00:00