diff --git a/psst-gui/src/ui/mod.rs b/psst-gui/src/ui/mod.rs index f1b7d455..07253559 100644 --- a/psst-gui/src/ui/mod.rs +++ b/psst-gui/src/ui/mod.rs @@ -45,8 +45,7 @@ pub mod utils; pub fn main_window(config: &Config) -> WindowDesc { let mut win = WindowDesc::new(root_widget(config)) .title(compute_main_window_title) - .show_title(false) - .transparent_titlebar(true); + .show_title(false); if config.kiosk_mode { win = win @@ -64,7 +63,8 @@ pub fn main_window(config: &Config) -> WindowDesc { } else { win = win .window_size(config.window_size) - .with_min_size((theme::grid(65.0), theme::grid(50.0))); + .with_min_size((theme::grid(65.0), theme::grid(50.0))) + .transparent_titlebar(true); } if cfg!(target_os = "macos") {