From 11bc0d0428bfcf0014b8fea0d91d983b58220794 Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Mon, 1 Nov 2021 19:28:08 +0200 Subject: [PATCH] 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 --- kiosk-shell/kiosk-shell.c | 4 ++-- 1 file 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,