mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-02-05 11:58:41 -06:00
fix: Windows notifications filling up tray area
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user