zed: Make "About" window floating (#57307)

The about window currently is a "Normal" window, which is suboptimal on
tiling window managers.

This changes it to be a floating window, causing less disruptions to
opinionated WM layouts.

Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

Release Notes:

- Fixed the "About Zed" dialog being a full window instead of a floating
window.
This commit is contained in:
Cynthia Rey authored and GitHub committed 2026-05-21 09:16:40 +00:00
1 parent 955a5f5ba3
commit ec6c1cf859
1 file changed
+1 -1
+1 -1
View File
@@ -1551,7 +1551,7 @@ fn open_about_window(cx: &mut App) {
window_bounds: Some(WindowBounds::centered(window_size, cx)),
is_resizable: false,
is_minimizable: false,
kind: WindowKind::Normal,
kind: WindowKind::Floating,
app_id: Some(ReleaseChannel::global(cx).app_id().to_owned()),
..Default::default()
},