Module: wine Branch: master Commit: 5afd80307ed2487998c0ccd552f883560ac24cfd URL: https://source.winehq.org/git/wine.git/?a=commit;h=5afd80307ed2487998c0ccd55...
Author: Olivier F. R. Dierick o.dierick@piezo-forte.be Date: Mon Jan 7 01:51:18 2019 +0100
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
---
programs/explorer/systray.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/programs/explorer/systray.c b/programs/explorer/systray.c index 3d36f74..f9e6661 100644 --- a/programs/explorer/systray.c +++ b/programs/explorer/systray.c @@ -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(); }