Skip to content

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

feat: added Location property to Window model

Lars37d96d20026d
diff --git a/LarsWM/Window.cs b/LarsWM/Window.cs
index 450a7511..42a4e1cb 100644
--- a/LarsWM/Window.cs
+++ b/LarsWM/Window.cs
@@ -1,4 +1,5 @@
-using System;
+using LarsWM.WindowsApi.DataTypes;
+using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
@@ -19,6 +20,8 @@ namespace LarsWM
public string ClassName => GetClassNameOfWindow(this);
+ public WindowRect Location => GetLocationOfWindow(this);
+
/// <summary>
/// This window's style flags.
/// </summary>