1
0
mirror of https://github.com/valinet/ExplorerPatcher.git synced 2024-11-15 03:27:35 +01:00

Taskbar10: Fixed a bug that prevented UndeadStartCorner from working properly when the taskbar alignment setting was never used

This commit is contained in:
Valentin-Gabriel Radu 2022-03-30 22:26:00 +03:00 committed by GitHub
parent 8461f3a33d
commit 78b8c6edd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1916,7 +1916,7 @@ int HandleTaskbarCornerInteraction(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM l
OpenStartOnMonitor(hMonitor);
return 1;
}
DWORD dwVal = 0, dwSize = sizeof(DWORD);
DWORD dwVal = 1, dwSize = sizeof(DWORD);
RegGetValueW(HKEY_CURRENT_USER, L"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced", L"TaskbarAl", RRF_RT_DWORD, NULL, &dwVal, &dwSize);
if (dwVal)
{