diff --git a/GlazeWM.App.IpcServer/IpcMessageHandler.cs b/GlazeWM.App.IpcServer/IpcMessageHandler.cs index 10bc009c9..5d2587cb9 100644 --- a/GlazeWM.App.IpcServer/IpcMessageHandler.cs +++ b/GlazeWM.App.IpcServer/IpcMessageHandler.cs @@ -14,6 +14,7 @@ using GlazeWM.App.IpcServer.ServerMessages; using GlazeWM.Domain.Common; using GlazeWM.Domain.Containers; +using GlazeWM.Domain.Containers.Commands; using GlazeWM.Domain.Monitors; using GlazeWM.Domain.UserConfigs; using GlazeWM.Domain.Windows; @@ -248,6 +249,8 @@ message.ContextContainerId is not null ); _bus.Invoke((dynamic)command); + _bus.Invoke(new RedrawContainersCommand()); + _bus.Invoke(new SyncNativeFocusCommand()); return new { contextContainerId = contextContainer.Id }; }