explorer: Don't change Z-order of the taskbar when displaying it.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=40828
Signed-off-by: Olivier F. R. Dierick <o.dierick@piezo-forte.be>
Signed-off-by: Hamish Claxton <hamishclaxton@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Olivier F. R. Dierick 2019-01-07 01:51:18 +01:00 committed by Alexandre Julliard
parent feab24fffd
commit 5afd80307e
1 changed files with 2 additions and 2 deletions

View File

@ -766,8 +766,8 @@ static void do_show_systray(void)
tray_width = GetSystemMetrics( SM_CXSCREEN );
tray_height = max( icon_cy, size.cy );
start_button_width = size.cx;
SetWindowPos( tray_window, HWND_TOPMOST, 0, GetSystemMetrics( SM_CYSCREEN ) - tray_height,
tray_width, tray_height, SWP_NOACTIVATE | SWP_SHOWWINDOW );
SetWindowPos( tray_window, 0, 0, GetSystemMetrics( SM_CYSCREEN ) - tray_height,
tray_width, tray_height, SWP_NOZORDER | SWP_NOACTIVATE | SWP_SHOWWINDOW );
sync_taskbar_buttons();
}