Zebediah Figura : winemac: Send systray messages with SendNotifyMessage().
Alexandre Julliard
julliard at winehq.org
Mon Jun 7 15:02:05 CDT 2021
Module: wine
Branch: stable
Commit: 2e1ba07a11b35b2a0243f4a5cbbbed86ffc37c3c
URL: https://source.winehq.org/git/wine.git/?a=commit;h=2e1ba07a11b35b2a0243f4a5cbbbed86ffc37c3c
Author: Zebediah Figura <z.figura12 at gmail.com>
Date: Sat Jan 30 13:54:32 2021 -0600
winemac: Send systray messages with SendNotifyMessage().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50441
Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
(cherry picked from commit 46c4facab73558af8e9d1c96093656ce06cdf51b)
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
---
dlls/winemac.drv/systray.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/winemac.drv/systray.c b/dlls/winemac.drv/systray.c
index 75bca5e3d51..d026f0b970b 100644
--- a/dlls/winemac.drv/systray.c
+++ b/dlls/winemac.drv/systray.c
@@ -290,7 +290,7 @@ static BOOL notify_owner(struct tray_icon *icon, UINT msg, int x, int y)
}
TRACE("posting msg 0x%04x to hwnd %p id 0x%x\n", msg, icon->owner, icon->id);
- if (!PostMessageW(icon->owner, icon->callback_message, wp, lp) &&
+ if (!SendNotifyMessageW(icon->owner, icon->callback_message, wp, lp) &&
(GetLastError() == ERROR_INVALID_WINDOW_HANDLE))
{
WARN("window %p was destroyed, removing icon 0x%x\n", icon->owner, icon->id);
More information about the wine-cvs
mailing list