Skip to content

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

feat(domain): create new `Event` class for when workspaces are attached

Lars06276bc21e9c
diff --git a/LarsWM.Domain/Workspaces/Events/WorkspaceAttachedEvent.cs b/LarsWM.Domain/Workspaces/Events/WorkspaceAttachedEvent.cs
new file mode 100644
index 00000000..18c75c00
--- /dev/null
+++ b/LarsWM.Domain/Workspaces/Events/WorkspaceAttachedEvent.cs
@@ -0,0 +1,14 @@
+using LarsWM.Infrastructure.Bussing;
+
+namespace LarsWM.Domain.Workspaces.Events
+{
+ public class WorkspaceAttachedEvent : Event
+ {
+ public Workspace AttachedWorkspace { get; }
+
+ public WorkspaceAttachedEvent(Workspace attachedWorkspace)
+ {
+ AttachedWorkspace = attachedWorkspace;
+ }
+ }
+}