Skip to content

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

feat(domain): created AttachContainerCommand

Larsc4af4beb56f2
diff --git a/LarsWM.Domain/Containers/Commands/AttachContainerCommand.cs b/LarsWM.Domain/Containers/Commands/AttachContainerCommand.cs
new file mode 100644
index 00000000..2f3933ea
--- /dev/null
+++ b/LarsWM.Domain/Containers/Commands/AttachContainerCommand.cs
@@ -0,0 +1,17 @@
+using LarsWM.Domain.Common.Models;
+using LarsWM.Infrastructure.Bussing;
+
+namespace LarsWM.Domain.Monitors.Commands
+{
+ public class AttachContainerCommand : Command
+ {
+ public Container Parent { get; }
+ public Container NewChild { get; }
+
+ public AttachContainerCommand(Container parent, Container newChild)
+ {
+ Parent = parent;
+ NewChild = newChild;
+ }
+ }
+}