Skip to content

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

feat(domain): set default window mode of a window to tiling

Lars Berger86f4319688ac
diff --git a/GlazeWM.Domain/Windows/Window.cs b/GlazeWM.Domain/Windows/Window.cs
index e5203bb0..da88d85d 100644
--- a/GlazeWM.Domain/Windows/Window.cs
+++ b/GlazeWM.Domain/Windows/Window.cs
@@ -1,4 +1,4 @@
-using System;
+using System;
using System.Diagnostics;
using GlazeWM.Domain.Containers;
using GlazeWM.Domain.Workspaces;
@@ -19,6 +19,8 @@ namespace GlazeWM.Domain.Windows
/// </summary>
public bool HasPendingDpiAdjustment { get; set; } = false;
+ public WindowMode Mode { get; set; } = WindowMode.TILING;
+
private WindowService _windowService = ServiceLocator.Provider.GetRequiredService<WindowService>();
private WorkspaceService _workspaceService = ServiceLocator.Provider.GetRequiredService<WorkspaceService>();
private ContainerService _containerService = ServiceLocator.Provider.GetRequiredService<ContainerService>();