From: Paul Gofman pgofman@codeweavers.com
--- programs/explorer/systray.c | 12 ++++++++++++ 1 file changed, 12 insertions(+)
diff --git a/programs/explorer/systray.c b/programs/explorer/systray.c index 9ae7e1698c9..ae0d66b2901 100644 --- a/programs/explorer/systray.c +++ b/programs/explorer/systray.c @@ -1110,6 +1110,18 @@ static LRESULT WINAPI shell_traywnd_proc( HWND hwnd, UINT msg, WPARAM wparam, LP else do_show_systray(); break;
+ case WM_WINDOWPOSCHANGING: + { + WINDOWPOS *p = (WINDOWPOS *)lparam; + + if (p->flags & SWP_SHOWWINDOW && (!show_systray || (!nb_displayed && !enable_taskbar))) + { + TRACE( "WM_WINDOWPOSCHANGING clearing SWP_SHOWWINDOW.\n" ); + p->flags &= ~SWP_SHOWWINDOW; + } + break; + } + case WM_MOVE: update_systray_balloon_position(); break;