Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

gpui: Fix hide titlebar on Windows, with `titlebar: None` option (#13975)

Jason Leeae414e21f029
diff --git a/crates/gpui/src/platform/windows/window.rs b/crates/gpui/src/platform/windows/window.rs
index 46a2a4e6b3b..e4c668463ca 100644
--- a/crates/gpui/src/platform/windows/window.rs
+++ b/crates/gpui/src/platform/windows/window.rs
@@ -252,7 +252,7 @@ impl WindowsWindow {
.titlebar
.as_ref()
.map(|titlebar| titlebar.appears_transparent)
- .unwrap_or(false);
+ .unwrap_or(true);
let windowname = HSTRING::from(
params
.titlebar