diff --git a/GlazeWM.Domain/Containers/CommandHandlers/SyncNativeFocusHandler.cs b/GlazeWM.Domain/Containers/CommandHandlers/SyncNativeFocusHandler.cs index 0b6685666..8f8592b35 100644 --- a/GlazeWM.Domain/Containers/CommandHandlers/SyncNativeFocusHandler.cs +++ b/GlazeWM.Domain/Containers/CommandHandlers/SyncNativeFocusHandler.cs @@ -44,6 +44,8 @@ public CommandResponse Handle(SyncNativeFocusCommand command) _bus.Emit(new NativeFocusSyncedEvent(focusedContainer)); _bus.Emit(new FocusChangedEvent(focusedContainer)); + _containerService.HasPendingFocusSync = false; + return CommandResponse.Ok; } } diff --git a/GlazeWM.Domain/Containers/ContainerService.cs b/GlazeWM.Domain/Containers/ContainerService.cs index ef87a552d..4a6c6a877 100644 --- a/GlazeWM.Domain/Containers/ContainerService.cs +++ b/GlazeWM.Domain/Containers/ContainerService.cs @@ -39,12 +39,6 @@ public class ContainerService public FocusMode FocusMode => FocusedContainer is FloatingWindow ? FocusMode.Floating : FocusMode.Tiling; - /// - /// While active, any this container overrides the target container to set focus to on the next - /// focus window event (ie. `EVENT_SYSTEM_FOREGROUND`). - /// - public Countdown FocusOverrideCountdown { get; set; } = new(TimeSpan.FromMilliseconds(100)); - /// /// Name of the currently active binding mode (if one is active). /// diff --git a/GlazeWM.Domain/Windows/CommandHandlers/UnmanageWindowHandler.cs b/GlazeWM.Domain/Windows/CommandHandlers/UnmanageWindowHandler.cs index e56a9ea12..a78b0e0a0 100644 --- a/GlazeWM.Domain/Windows/CommandHandlers/UnmanageWindowHandler.cs +++ b/GlazeWM.Domain/Windows/CommandHandlers/UnmanageWindowHandler.cs @@ -10,11 +10,16 @@ internal sealed class UnmanageWindowHandler : ICommandHandler _timeSpan.Milliseconds; - } - } -}