Skip to content

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

feat(infra): create `Event` class for window location changed event

Lars Berger6d9b6468c671
diff --git a/GlazeWM.Infrastructure/WindowsApi/Events/WindowLocationChangedEvent.cs b/GlazeWM.Infrastructure/WindowsApi/Events/WindowLocationChangedEvent.cs
new file mode 100644
index 00000000..df9b2cfe
--- /dev/null
+++ b/GlazeWM.Infrastructure/WindowsApi/Events/WindowLocationChangedEvent.cs
@@ -0,0 +1,15 @@
+using System;
+using GlazeWM.Infrastructure.Bussing;
+
+namespace GlazeWM.Infrastructure.WindowsApi.Events
+{
+ public class WindowLocationChangedEvent : Event
+ {
+ public IntPtr WindowHandle { get; }
+
+ public WindowLocationChangedEvent(IntPtr windowHandle)
+ {
+ WindowHandle = windowHandle;
+ }
+ }
+}