Skip to content

GlazeWM is a tiling window manager for macOS and Windows inspired by i3wm.

fix: mark window as having custom placement if `centered: false` (#1304)

Haim Ashkenazi4da81278a609
diff --git a/packages/wm/src/commands/window/manage_window.rs b/packages/wm/src/commands/window/manage_window.rs
index df5f8ff5..2eb5e474 100644
--- a/packages/wm/src/commands/window/manage_window.rs
+++ b/packages/wm/src/commands/window/manage_window.rs
@@ -235,7 +235,7 @@ fn create_window(
border_delta,
None,
floating_placement,
- false,
+ !prefers_centered,
Vec::new(),
None,
)