diff --git a/GlazeWM.Bar/Components/WorkspacesComponentViewModel.cs b/GlazeWM.Bar/Components/WorkspacesComponentViewModel.cs index 772be35c..629288de 100644 --- a/GlazeWM.Bar/Components/WorkspacesComponentViewModel.cs +++ b/GlazeWM.Bar/Components/WorkspacesComponentViewModel.cs @@ -6,6 +6,7 @@ using System.Windows.Input; using System.Windows.Threading; using GlazeWM.Bar.Common; +using GlazeWM.Domain.Containers.Commands; using GlazeWM.Domain.Containers.Events; using GlazeWM.Domain.Monitors; using GlazeWM.Domain.UserConfigs; @@ -90,6 +91,8 @@ or FocusedContainerMovedEvent public void FocusWorkspace(string workspaceName) { _bus.Invoke(new FocusWorkspaceCommand(workspaceName)); + _bus.Invoke(new RedrawContainersCommand()); + _bus.Invoke(new SyncNativeFocusCommand()); } } }