From 86c70ce099f47b77ba83aae42e43c8ace0a5c169 Mon Sep 17 00:00:00 2001 From: Sean Boult <996134+Hacksore@users.noreply.github.com> Date: Fri, 29 Dec 2023 20:06:34 -0600 Subject: [PATCH] Fix build --- apps/desktop/src-tauri/src/main.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/apps/desktop/src-tauri/src/main.rs b/apps/desktop/src-tauri/src/main.rs index ebae5417..41f0ed4e 100644 --- a/apps/desktop/src-tauri/src/main.rs +++ b/apps/desktop/src-tauri/src/main.rs @@ -38,6 +38,7 @@ struct Storage { #[cfg(target_os = "macos")] fn apply_macos_specifics(app: &mut App, window: &Window) { + window.set_visisble_on_all_workspaces(true); window.set_transparent_titlebar(true, true); app.set_activation_policy(ActivationPolicy::Accessory); } @@ -64,9 +65,6 @@ fn main() { // NOTE: this might be a bug? window.set_decorations(false); - // allow on all workspaces - window.set_visisble_on_all_workspaces(true); - // add mac things #[cfg(target_os = "macos")] apply_macos_specifics(app, &window);