Commit 5afd8030 authored by Olivier F. R. Dierick's avatar Olivier F. R. Dierick Committed by Alexandre Julliard

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

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