Skip to content

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

feat(infra): create `Event` class for when the working area of a monitor is changed

Lars Berger01674e78da1b
diff --git a/GlazeWM.Domain/Monitors/Events/WorkingAreaResizedEvent.cs b/GlazeWM.Domain/Monitors/Events/WorkingAreaResizedEvent.cs
new file mode 100644
index 00000000..01295805
--- /dev/null
+++ b/GlazeWM.Domain/Monitors/Events/WorkingAreaResizedEvent.cs
@@ -0,0 +1,14 @@
+using GlazeWM.Infrastructure.Bussing;
+
+namespace GlazeWM.Domain.Monitors.Events
+{
+ public class WorkingAreaResizedEvent : Event
+ {
+ public Monitor AffectedMonitor { get; }
+
+ public WorkingAreaResizedEvent(Monitor affectedMonitor)
+ {
+ AffectedMonitor = affectedMonitor;
+ }
+ }
+}