Skip to content

Commit

Permalink
fix: redraw and assign focus after ipc commands (#463)
Browse files Browse the repository at this point in the history
  • Loading branch information
lars-berger authored Dec 18, 2023
1 parent ffc706b commit b033f22
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions GlazeWM.App.IpcServer/IpcMessageHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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 };
}
Expand Down

0 comments on commit b033f22

Please sign in to comment.