1
0
mirror of https://github.com/valinet/ExplorerPatcher.git synced 2024-11-13 18:50:46 +01:00

Apply fix for secondary taskbar not appearing when mouse is over it only for Windows 11 taskbar

This commit is contained in:
Valentin Radu 2022-01-04 03:34:47 +02:00
parent 8a45ffd523
commit 2732c6160c

View File

@ -1605,7 +1605,7 @@ INT64 Shell_TrayWndSubclassProc(
// the right menu
return 0;
}
else if (!bIsPrimaryTaskbar && uMsg == WM_SETCURSOR)
else if (!bOldTaskbar && !bIsPrimaryTaskbar && uMsg == WM_SETCURSOR)
{
// Received when mouse is over taskbar edge and autohide is on
PostMessageW(hWnd, WM_ACTIVATE, WA_ACTIVE, NULL);