Skip to content

Commit

Permalink
Taskbar10: Fixed a bug that prevented UndeadStartCorner from workin…
Browse files Browse the repository at this point in the history
…g properly when the taskbar alignment setting was never used
  • Loading branch information
valinet committed Mar 30, 2022
1 parent 8461f3a commit 78b8c6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ExplorerPatcher/dllmain.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 78b8c6e

Please sign in to comment.