Skip to content

GlazeWM is a tiling window manager for macOS and Windows inspired by i3wm.

feat(boot): properly dispose of system tray icon on application exit

Lars Bergereb508a8b18b7
diff --git a/GlazeWM.Bootstrapper/Startup.cs b/GlazeWM.Bootstrapper/Startup.cs
index c3ce524e..8893f489 100644
--- a/GlazeWM.Bootstrapper/Startup.cs
+++ b/GlazeWM.Bootstrapper/Startup.cs
@@ -146,6 +146,7 @@ namespace GlazeWM.Bootstrapper
{
_bus.Invoke(new ShowAllWindowsCommand());
_barService.ExitApp();
+ _systemTrayService.RemoveFromSystemTray();
Application.Exit();
}
}