Browse Source

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

pull/1197/head 22000.556.43.4_78b8c6e
Valentin-Gabriel Radu 4 years ago committed by GitHub
parent
commit
78b8c6edd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      ExplorerPatcher/dllmain.c

2
ExplorerPatcher/dllmain.c

@ -1916,7 +1916,7 @@ int HandleTaskbarCornerInteraction(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM l
OpenStartOnMonitor(hMonitor); OpenStartOnMonitor(hMonitor);
return 1; 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); RegGetValueW(HKEY_CURRENT_USER, L"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced", L"TaskbarAl", RRF_RT_DWORD, NULL, &dwVal, &dwSize);
if (dwVal) if (dwVal)
{ {

Loading…
Cancel
Save