Commit 5c09d815 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

winex11: Send systray messages with SendNotifyMessage().

parent 46c4faca
...@@ -451,7 +451,7 @@ static BOOL notify_owner( struct tray_icon *icon, UINT msg, LPARAM lparam ) ...@@ -451,7 +451,7 @@ static BOOL notify_owner( struct tray_icon *icon, UINT msg, LPARAM lparam )
} }
TRACE( "relaying 0x%x\n", msg ); TRACE( "relaying 0x%x\n", msg );
if (!PostMessageW( icon->owner, icon->callback_message, wp, lp ) && if (!SendNotifyMessageW( icon->owner, icon->callback_message, wp, lp ) &&
(GetLastError() == ERROR_INVALID_WINDOW_HANDLE)) (GetLastError() == ERROR_INVALID_WINDOW_HANDLE))
{ {
WARN( "application window was destroyed, removing icon %u\n", icon->id ); WARN( "application window was destroyed, removing icon %u\n", icon->id );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment