mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2025-12-20 04:40:07 +01:00
desktop-shell: Fix background image
Commit264c205addignored the fact that a background color of 0 should fall back to the background image, and broke that case. Fixes264c205addSigned-off-by: Derek Foreman <derek.foreman@collabora.com>
This commit is contained in:
parent
16e5406877
commit
5b35631545
1 changed files with 2 additions and 1 deletions
|
|
@ -1192,7 +1192,8 @@ background_create(struct desktop *desktop, struct output *output)
|
|||
&background->color, 0x00000000);
|
||||
|
||||
/* Backgrounds must be fully opaque. */
|
||||
background->color |= 0xFF000000;
|
||||
if (background->color != 0)
|
||||
background->color |= 0xFF000000;
|
||||
|
||||
weston_config_section_get_string(s, "background-type",
|
||||
&type, "tile");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue