mirror of
https://gitlab.winehq.org/wine/wine.git
synced 2024-11-19 17:06:04 -07:00
Merge branch 'systray_show' into 'master'
explorer: Prevent apps from showing Wine specific shell tray window with no icons. See merge request wine/wine!6728
This commit is contained in:
commit
f03be7c6cd
1 changed files with 12 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue