Index: dll/win32/shell32/shell32_main.cpp =================================================================== --- dll/win32/shell32/shell32_main.cpp (revision 58047) +++ dll/win32/shell32/shell32_main.cpp (working copy) @@ -864,9 +864,14 @@ return ABS_ALWAYSONTOP | ABS_AUTOHIDE; case ABM_GETTASKBARPOS: - GetWindowRect(data->hWnd, &rec); + { + /* It wants only Shell Tray Window! */ + HWND hTrayWnd = FindWindow(TEXT("Shell_TrayWnd"), NULL); + GetWindowRect(hTrayWnd, &rec); + /* In case shell tray window not found, it will return random stuff */ data->rc=rec; return TRUE; + } case ABM_ACTIVATE: SetActiveWindow(data->hWnd);