Skip to content

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

fix: ensure window position is accessible when checking if manageable (#1091)

Lars Bergera458c026ef2a
diff --git a/packages/wm-platform/src/native_window.rs b/packages/wm-platform/src/native_window.rs
index f3316013..7e7d790b 100644
--- a/packages/wm-platform/src/native_window.rs
+++ b/packages/wm-platform/src/native_window.rs
@@ -236,6 +236,9 @@ impl NativeWindow {
return Ok(false);
}
+ // Ensure window position is accessible.
+ self.refresh_frame_position()?;
+
// Some applications spawn top-level windows for menus that should be
// ignored. This includes the autocomplete popup in Notepad++ and title
// bar menu in Keepass. Although not foolproof, these can typically be