From d20be9c5cc865f3c8e6e9d148c3868ac2b60cd55 Mon Sep 17 00:00:00 2001 From: l0ng-ai <24760907+l0ng-ai@users.noreply.github.com> Date: Wed, 4 Nov 2026 16:57:28 +0800 Subject: [PATCH] fix(window): declare the detach fullscreen flag only on macOS It is read only in macOS code, so Linux and Windows builds failed on an unused variable. --- src-tauri/src/window_groups.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src-tauri/src/window_groups.rs b/src-tauri/src/window_groups.rs index df588c35..d184c33d 100644 --- a/src-tauri/src/window_groups.rs +++ b/src-tauri/src/window_groups.rs @@ -202,6 +202,7 @@ pub fn detach(app: &AppHandle, caller: &str) -> IdeResult<()> { let next = state.groups.lock().detach(caller); if let Some(next) = next { // The tab that stays keeps the fullscreen; the detached window opens beside it. + #[cfg(target_os = "macos")] let simple = simple_fullscreen(caller); if let Some(window) = app.get_webview_window(&next) { #[cfg(target_os = "macos")]