Skip to content

Commit 86c70ce

Browse files
committed
Fix build
1 parent 5a478ab commit 86c70ce

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

apps/desktop/src-tauri/src/main.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ struct Storage {
3838

3939
#[cfg(target_os = "macos")]
4040
fn apply_macos_specifics(app: &mut App, window: &Window) {
41+
window.set_visisble_on_all_workspaces(true);
4142
window.set_transparent_titlebar(true, true);
4243
app.set_activation_policy(ActivationPolicy::Accessory);
4344
}
@@ -64,9 +65,6 @@ fn main() {
6465
// NOTE: this might be a bug?
6566
window.set_decorations(false);
6667

67-
// allow on all workspaces
68-
window.set_visisble_on_all_workspaces(true);
69-
7068
// add mac things
7169
#[cfg(target_os = "macos")]
7270
apply_macos_specifics(app, &window);

0 commit comments

Comments
 (0)