GlazeWM is a tiling window manager for macOS and Windows inspired by i3wm.
feat(domain): manage windows that have no owner window
Lars Bergera42523dfa652
diff --git a/GlazeWM.Domain/Windows/WindowService.cs b/GlazeWM.Domain/Windows/WindowService.csindex eee2d73c..d2210dad 100644--- a/GlazeWM.Domain/Windows/WindowService.cs+++ b/GlazeWM.Domain/Windows/WindowService.cs@@ -155,11 +155,10 @@ namespace GlazeWM.Domain.Windowsif (!IsHandleVisible(handle))return false;- // Ensure window is top-level (ie. not a child window). Ignore windows that are probably- // popups or if they're unavailable in task switcher (alt+tab menu).+ // Ensure window is top-level (ie. not a child window). Ignore windows that cannot be focused+ // or if they're unavailable in task switcher (alt+tab menu).var isApplicationWindow = !HandleHasWindowStyle(handle, WS.WS_CHILD)- && !HandleHasWindowExStyle(handle, WS_EX.WS_EX_NOACTIVATE | WS_EX.WS_EX_TOOLWINDOW)- && GetWindow(handle, GW.GW_OWNER) == IntPtr.Zero;+ && !HandleHasWindowExStyle(handle, WS_EX.WS_EX_NOACTIVATE | WS_EX.WS_EX_TOOLWINDOW);if (!isApplicationWindow)return false;