diff --git a/desktop/src/app.rs b/desktop/src/app.rs index 1a925373c2e5..3cbf49ea9608 100644 --- a/desktop/src/app.rs +++ b/desktop/src/app.rs @@ -438,6 +438,7 @@ impl ApplicationHandler for App { let preferred_height = self.preferences.cli.height; let start_fullscreen = self.preferences.cli.fullscreen; + #[cfg_attr(not(target_os = "linux"), allow(unused_mut))] let mut window_attributes = WindowAttributes::default() .with_visible(false) .with_title("Ruffle")