Debug Window

This commit is contained in:
Gregory Schier
2025-12-05 17:37:54 -08:00
parent daba21fbca
commit 6534b3f622

View File

@@ -95,6 +95,12 @@ pub(crate) fn create_window<R: Runtime>(
});
}
#[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<R: Runtime>(
#[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);
}
}