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.

Sync maximized state from top-level configure event for a wayland window (#11003)

Akilan Elango7bd18fa6539a
diff --git a/crates/gpui/src/platform/linux/wayland/window.rs b/crates/gpui/src/platform/linux/wayland/window.rs
index 2b1b8d1c7fb..82bfa6c0a8d 100644
--- a/crates/gpui/src/platform/linux/wayland/window.rs
+++ b/crates/gpui/src/platform/linux/wayland/window.rs
@@ -322,7 +322,7 @@ impl WaylandWindowStatePtr {
self.resize(width, height);
self.set_fullscreen(fullscreen);
let mut state = self.state.borrow_mut();
- state.maximized = true;
+ state.maximized = maximized;
false
}