From 6534b3f62258ed916a4390a2569f2e79c11bc6da Mon Sep 17 00:00:00 2001 From: Gregory Schier Date: Fri, 5 Dec 2025 17:37:54 -0800 Subject: [PATCH] Debug Window --- src-tauri/src/window.rs | 7 +++++++ 1 file changed, 7 insertions(+) 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); } }