From 599a5e14f4712ff14aa16541d239a25bb6d2b977 Mon Sep 17 00:00:00 2001 From: Andrew Hexen Date: Wed, 3 Jun 2026 17:29:33 -0700 Subject: [PATCH] Hide taskbar: Add linux to target_os for set_skip_taskbar * Follow-up to 'Option to hide taskbar when pinned' as under X11 compositor (linux) with the cinnamon DE, the taskbar does not hide unless using set_skip_taskbar. --- apps/desktop/src-tauri/src/commands.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/desktop/src-tauri/src/commands.rs b/apps/desktop/src-tauri/src/commands.rs index 56145042..89524cec 100644 --- a/apps/desktop/src-tauri/src/commands.rs +++ b/apps/desktop/src-tauri/src/commands.rs @@ -123,7 +123,7 @@ fn apply_taskbar_visibility(app: &AppHandle, pinned: bool, hide_taskbar_when_pin let skip_taskbar = pinned && hide_taskbar_when_pinned; if let Some(main_window) = app.get_webview_window(MAIN_WINDOW_NAME) { - #[cfg(target_os = "windows")] + #[cfg(any(target_os = "windows", target_os = "linux"))] main_window.set_skip_taskbar(skip_taskbar).ok(); }