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);