Skip to content

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

feat(domain): add `MinimizedWindow` property for its previous state

Lars Bergerf64ae71d6b2b
diff --git a/GlazeWM.Domain/Windows/MinimizedWindow.cs b/GlazeWM.Domain/Windows/MinimizedWindow.cs
index 6c73a9ae..77fe3df5 100644
--- a/GlazeWM.Domain/Windows/MinimizedWindow.cs
+++ b/GlazeWM.Domain/Windows/MinimizedWindow.cs
@@ -5,11 +5,15 @@ namespace GlazeWM.Domain.Windows
{
public sealed class MinimizedWindow : Window
{
+ public WindowType PreviousState;
+
public MinimizedWindow(
IntPtr hwnd,
- WindowRect floatingPlacement
+ WindowRect floatingPlacement,
+ WindowType previousState
) : base(hwnd, floatingPlacement)
{
+ PreviousState = previousState;
}
}
}