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(