diff --git a/crates/zed/src/zed.rs b/crates/zed/src/zed.rs index 3709a6c4b425c4..466dbba5bb1f42 100644 --- a/crates/zed/src/zed.rs +++ b/crates/zed/src/zed.rs @@ -377,8 +377,10 @@ pub fn build_window_options(display_uuid: Option, cx: &mut App) -> WindowO focus: false, show: false, kind: WindowKind::Normal, - // Zed handles window movement itself, so disable AppKit's titlebar dragging. - is_movable: false, + // On macOS, Zed handles window movement itself, so disable AppKit's titlebar dragging. + // On other platforms, `is_movable` gates native window dragging (e.g. Windows' + // `HTCAPTION` hit test), so it must remain `true`. + is_movable: cfg!(not(target_os = "macos")), display_id: display.map(|display| display.id()), window_background: cx.theme().window_background_appearance(), app_id: Some(app_id.to_owned()),