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
+1 -1
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)
{