GlazeWM is a tiling window manager for macOS and Windows inspired by i3wm.
feat(domain): update bar state when moving floating windows between workspaces
Lars Berger836ad263d6f2
diff --git a/GlazeWM.Domain/Windows/EventHandlers/WindowMovedOrResizedHandler.cs b/GlazeWM.Domain/Windows/EventHandlers/WindowMovedOrResizedHandler.csindex a08bfd0c..bc0f976b 100644--- a/GlazeWM.Domain/Windows/EventHandlers/WindowMovedOrResizedHandler.cs+++ b/GlazeWM.Domain/Windows/EventHandlers/WindowMovedOrResizedHandler.cs@@ -1,5 +1,6 @@using System.Linq;using GlazeWM.Domain.Containers.Commands;+using GlazeWM.Domain.Containers.Events;using GlazeWM.Domain.Monitors;using GlazeWM.Domain.Workspaces;using GlazeWM.Infrastructure.Bussing;@@ -57,6 +58,7 @@ namespace GlazeWM.Domain.Windows.EventHandlers// Change the window's parent workspace._bus.Invoke(new MoveContainerWithinTreeCommand(window, targetWorkspace, false));+ _bus.RaiseEvent(new FocusChangedEvent(window));}}}