fix: Windows notifications filling up tray area

This commit is contained in:
WerWolv
2026-01-03 11:04:33 +01:00
parent 3274649b77
commit 598914a67a

View File

@@ -988,6 +988,12 @@ namespace hex {
nid.dwInfoFlags = NIIF_INFO;
Shell_NotifyIcon(NIM_ADD, &nid);
Sleep(100);
Shell_NotifyIcon(NIM_DELETE, &nid);
CloseWindow(hwnd);
DestroyWindow(hwnd);
#elif defined(OS_MACOS)
toastMessageMacos(title.c_str(), message.c_str());
#elif defined(OS_LINUX)