diff options
author | Marius Vlad <marius.vlad@collabora.com> | 2021-11-01 19:28:08 +0200 |
---|---|---|
committer | Marius Vlad <marius.vlad@collabora.com> | 2021-11-01 19:57:32 +0200 |
commit | 11bc0d0428bfcf0014b8fea0d91d983b58220794 (patch) | |
tree | bd58ddac95c166740db6ff5b1a886156062cf0c7 /kiosk-shell | |
parent | d4a208c2b1d271d0a1ec8b178df273728116b8ef (diff) | |
download | weston-11bc0d0428bfcf0014b8fea0d91d983b58220794.tar.gz |
kiosk-shell: Swap green with blue for the background-color
Fix a trivial typo, where the green channel was swapped with the blue
channel, resulting in rbg instead of rgb.
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Diffstat (limited to 'kiosk-shell')
-rw-r--r-- | kiosk-shell/kiosk-shell.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kiosk-shell/kiosk-shell.c b/kiosk-shell/kiosk-shell.c index 12c1c279..cee7067d 100644 --- a/kiosk-shell/kiosk-shell.c +++ b/kiosk-shell/kiosk-shell.c @@ -475,8 +475,8 @@ kiosk_shell_output_recreate_background(struct kiosk_shell_output *shoutput) &bg_color, 0x00000000); r = ((bg_color >> 16) & 0xff) / 255.0; - b = ((bg_color >> 8) & 0xff) / 255.0, - g = ((bg_color >> 0) & 0xff) / 255.0; + g = ((bg_color >> 8) & 0xff) / 255.0; + b = ((bg_color >> 0) & 0xff) / 255.0; shoutput->background_view = create_colored_surface(shoutput->shell->compositor, |