explorer: Send systray messages with SendNotifyMessage().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50441 Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
d91a87cea2
commit
7eca09d7e0
|
@ -731,7 +731,7 @@ static BOOL notify_owner( struct icon *icon, UINT msg, POINT pt )
|
||||||
}
|
}
|
||||||
|
|
||||||
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 );
|
||||||
|
|
Loading…
Reference in New Issue