GlazeWM is a tiling window manager for macOS and Windows inspired by i3wm.
feat(domain): show with normal X/Y/Width/Height instead of floating placement in `ShowAllWindowsHandler`
Lars Berger4c8800b3671a
diff --git a/GlazeWM.Domain/Windows/CommandHandlers/ShowAllWindowsHandler.cs b/GlazeWM.Domain/Windows/CommandHandlers/ShowAllWindowsHandler.csindex e25e6e08..e2c59dd4 100644--- a/GlazeWM.Domain/Windows/CommandHandlers/ShowAllWindowsHandler.cs+++ b/GlazeWM.Domain/Windows/CommandHandlers/ShowAllWindowsHandler.cs@@ -16,7 +16,7 @@ namespace GlazeWM.Domain.Windows.CommandHandlerspublic CommandResponse Handle(ShowAllWindowsCommand command){- // Reset all managed windows to their floating positions.+ // Show all windows regardless of whether their workspace is displayed.foreach (var window in _windowService.GetWindows()){var flags = SWP.SWP_FRAMECHANGED | SWP.SWP_NOACTIVATE | SWP.SWP_NOCOPYBITS |@@ -25,10 +25,10 @@ namespace GlazeWM.Domain.Windows.CommandHandlersSetWindowPos(window.Hwnd,IntPtr.Zero,- window.FloatingPlacement.Left,- window.FloatingPlacement.Top,- window.FloatingPlacement.Right - window.FloatingPlacement.Left,- window.FloatingPlacement.Bottom - window.FloatingPlacement.Top,+ window.X,+ window.Y,+ window.Width,+ window.Height,flags);}