From 593fb3fa345e92547899ebb04419fc505b51f847 Mon Sep 17 00:00:00 2001 From: ns6089 <61738816+ns6089@users.noreply.github.com> Date: Wed, 11 Oct 2023 12:08:46 +0300 Subject: [PATCH] Use higher res image for baloon icon --- tray_windows.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tray_windows.c b/tray_windows.c index 60df2a6..0fcfa80 100644 --- a/tray_windows.c +++ b/tray_windows.c @@ -145,7 +145,7 @@ void tray_update(struct tray *tray) { HICON icon,largeIcon; ExtractIconEx(tray->icon, 0, NULL, &icon, 1); if(tray->notification_icon != 0){ - ExtractIconEx(tray->notification_icon, 0, &largeIcon, NULL, 1); + largeIcon = LoadImageA(NULL, tray->notification_icon, IMAGE_ICON, GetSystemMetrics(SM_CXICON) * 2, GetSystemMetrics(SM_CYICON) * 2, LR_LOADFROMFILE); } else { ExtractIconEx(tray->icon, 0, &largeIcon, NULL, 1); }