diff --git a/src-tauri/src/window.rs b/src-tauri/src/window.rs index 1ffc5b5c..39cc2bec 100644 --- a/src-tauri/src/window.rs +++ b/src-tauri/src/window.rs @@ -95,6 +95,12 @@ pub(crate) fn create_window( }); } + #[cfg(not(target_os = "macos"))] + { + println!("ENABLING DECORATIONS FOR WINDOW"); + win_builder = win_builder.decorations(true); + } + let settings = handle.db().get_settings(); if config.hide_titlebar && !settings.use_native_titlebar { #[cfg(target_os = "macos")] @@ -105,6 +111,7 @@ pub(crate) fn create_window( #[cfg(not(target_os = "macos"))] { // Doesn't seem to work from Rust, here, so we do it in main.tsx + println!("DISABLING DECORATIONS FOR WINDOW"); win_builder = win_builder.decorations(false); } }