GlazeWM is a tiling window manager for macOS and Windows inspired by i3wm.
feat(domain): register `AttachAndResizeContainerHandler` for DI
Lars Bergerd6a450a52f4b
diff --git a/GlazeWM.Domain/DependencyInjection.cs b/GlazeWM.Domain/DependencyInjection.csindex fd535b41..a25ecf51 100644--- a/GlazeWM.Domain/DependencyInjection.cs+++ b/GlazeWM.Domain/DependencyInjection.cs@@ -1,4 +1,4 @@-using GlazeWM.Domain.Containers;+using GlazeWM.Domain.Containers;using GlazeWM.Domain.Containers.CommandHandlers;using GlazeWM.Domain.Containers.Commands;using GlazeWM.Domain.Monitors;@@ -31,6 +31,7 @@ namespace GlazeWM.Domainservices.AddSingleton<WindowService>();services.AddSingleton<WorkspaceService>();+ services.AddSingleton<ICommandHandler<AttachAndResizeContainerCommand>, AttachAndResizeContainerHandler>();services.AddSingleton<ICommandHandler<AttachContainerCommand>, AttachContainerHandler>();services.AddSingleton<ICommandHandler<ChangeContainerLayoutCommand>, ChangeContainerLayoutHandler>();services.AddSingleton<ICommandHandler<ChangeFocusedContainerLayoutCommand>, ChangeFocusedContainerLayoutHandler>();