From d1cd9fb37a6807b38ad89a95feb79433238738dd Mon Sep 17 00:00:00 2001 From: John Tur Date: Fri, 20 Feb 2026 23:49:37 -0500 Subject: [PATCH] Fix certain title bar elements not being interactive on Windows (#49781) https://github.com/zed-industries/zed/pull/48330 caused the title bar to start eating input events below these controls. We should find a way to make the title bar handling less busted, but this will do for now. Before you mark this PR as ready for review, make sure that you have: - [X] Added a solid test coverage and/or screenshots from doing manual testing - [X] Done a self-review taking into account security and performance aspects Release Notes: - N/A --- crates/title_bar/src/collab.rs | 1 + crates/title_bar/src/onboarding_banner.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/crates/title_bar/src/collab.rs b/crates/title_bar/src/collab.rs index 8a2d23dd26f81da469fe229eeed586ea8fe49189..c5071d1fff466a4352781be88d728fafe4f4ce78 100644 --- a/crates/title_bar/src/collab.rs +++ b/crates/title_bar/src/collab.rs @@ -143,6 +143,7 @@ impl TitleBar { h_flex() .id("collaborator-list") + .occlude() .w_full() .gap_1() .overflow_x_scroll() diff --git a/crates/title_bar/src/onboarding_banner.rs b/crates/title_bar/src/onboarding_banner.rs index 750ef0a6cdc56d1e9ea87ab12807584a4e0e4bd2..ac3e80e179babc8ae9ee1c86c93c11f57cedb9b7 100644 --- a/crates/title_bar/src/onboarding_banner.rs +++ b/crates/title_bar/src/onboarding_banner.rs @@ -120,6 +120,7 @@ impl Render for OnboardingBanner { .rounded_sm() .border_1() .border_color(border_color) + .occlude() .child( ButtonLike::new("try-a-feature") .child(