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>
This commit is contained in:
Marius Vlad
2021-11-01 19:28:08 +02:00
parent d4a208c2b1
commit 11bc0d0428
+2 -2
View File
@@ -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,