From 66ff52b0128be9430b32cb5756e124f61d2e67d0 Mon Sep 17 00:00:00 2001 From: Kirill Chibisov Date: Thu, 22 Jun 2023 00:21:43 +0000 Subject: [PATCH] On Wayland, fix transparency hint not set in new Fixes #2894. --- src/platform_impl/linux/wayland/window/mod.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/platform_impl/linux/wayland/window/mod.rs b/src/platform_impl/linux/wayland/window/mod.rs index 76168f36..26073da3 100644 --- a/src/platform_impl/linux/wayland/window/mod.rs +++ b/src/platform_impl/linux/wayland/window/mod.rs @@ -120,6 +120,9 @@ impl Window { attributes.preferred_theme, ); + // Set transparency hint. + window_state.set_transparent(attributes.transparent); + // Set the app_id. if let Some(name) = platform_attributes.name.map(|name| name.general) { window.set_app_id(name);