From e73236fdac28a1a46ea399724beed4c259a51dc4 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Wed, 31 Jan 2024 15:11:42 -0700 Subject: [PATCH] Fix cached window background order --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 3c0a1bf..470b6d1 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1418,9 +1418,9 @@ impl Application for App { { let color = Color::from(cosmic_theme.bg_color()); let bytes = color.into_rgba8(); - let data = (bytes[0] as u32) + let data = (bytes[2] as u32) | ((bytes[1] as u32) << 8) - | ((bytes[2] as u32) << 16) + | ((bytes[0] as u32) << 16) | 0xFF000000; terminal::WINDOW_BG_COLOR.store(data, Ordering::SeqCst); }