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:
parent
8461f3a33d
commit
78b8c6edd4
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user