From 2f64a6fa9731f4a39110225b6d3c42f9e714e675 Mon Sep 17 00:00:00 2001 From: Kirill Chibisov Date: Fri, 27 Oct 2023 00:41:15 +0400 Subject: [PATCH] On Wayland, don't build frame without decorations --- src/platform_impl/linux/wayland/window/state.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/platform_impl/linux/wayland/window/state.rs b/src/platform_impl/linux/wayland/window/state.rs index f9f3187efe4..aef05959e0a 100644 --- a/src/platform_impl/linux/wayland/window/state.rs +++ b/src/platform_impl/linux/wayland/window/state.rs @@ -268,6 +268,7 @@ impl WindowState { if configure.decoration_mode == DecorationMode::Client && self.frame.is_none() + && self.decorate && !self.csd_fails { match WinitFrame::new(