Skip to content

The IDE you know, rebuilt in Rust. IntelliJ IDEA–style keymap, tool windows and search-everywhere in a fast native app: editor, code insight, debugger, Git, terminal, database and HTTP clients for 60+ languages.

fix(window): declare the detach fullscreen flag only on macOS

l0ng-aid20be9c5cc86
diff --git a/src-tauri/src/window_groups.rs b/src-tauri/src/window_groups.rs
index df588c354..d184c33d8 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")]