GlazeWM is a tiling window manager for macOS and Windows inspired by i3wm.
fix(boot): ensure `Environment.Exit` is called when exiting via system tray
Lars Berger9e57dcbc8775
diff --git a/GlazeWM.Bootstrapper/Startup.cs b/GlazeWM.Bootstrapper/Startup.csindex e131b390..3cb2852a 100644--- a/GlazeWM.Bootstrapper/Startup.cs+++ b/GlazeWM.Bootstrapper/Startup.cs@@ -3,6 +3,7 @@ using GlazeWM.Domain.Common.Commands;using GlazeWM.Domain.UserConfigs.Commands;using GlazeWM.Domain.Windows.Commands;using GlazeWM.Infrastructure.Bussing;+using GlazeWM.Infrastructure.Common.Commands;using GlazeWM.Infrastructure.Common.Events;using GlazeWM.Infrastructure.Exceptions;using GlazeWM.Infrastructure.WindowsApi;@@ -75,7 +76,7 @@ namespace GlazeWM.BootstrapperActions = new Dictionary<string, Action>{{ "Reload config", () => _bus.Invoke(new ReloadUserConfigCommand()) },- { "Exit", () => _bus.Emit(new ApplicationExitingEvent()) },+ { "Exit", () => _bus.Invoke(new ExitApplicationCommand(false)) },}};