Skip to content

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

feat(domain): add `WindowService` property for storing window handles to appbars

Lars Berger77044cace965
diff --git a/GlazeWM.Domain/Windows/WindowService.cs b/GlazeWM.Domain/Windows/WindowService.cs
index 6657d7bb..4dfbced4 100644
--- a/GlazeWM.Domain/Windows/WindowService.cs
+++ b/GlazeWM.Domain/Windows/WindowService.cs
@@ -1,4 +1,4 @@
-using System;
+using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
@@ -13,6 +13,12 @@ namespace GlazeWM.Domain.Windows
{
public class WindowService
{
+ /// <summary>
+ /// Window handles to appbars (application desktop toolbars). Positioning changes of appbars
+ /// can affect the working area of the parent monitor and requires windows to be redrawn.
+ /// </summary>
+ public List<IntPtr> AppBarHandles { get; set; } = new List<IntPtr>();
+
private ContainerService _containerService;
private MonitorService _monitorService;