From 2732c6160c847ccef36529e11cd7521ca78dd124 Mon Sep 17 00:00:00 2001 From: Valentin Radu Date: Tue, 4 Jan 2022 03:34:47 +0200 Subject: [PATCH] Apply fix for secondary taskbar not appearing when mouse is over it only for Windows 11 taskbar --- ExplorerPatcher/dllmain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ExplorerPatcher/dllmain.c b/ExplorerPatcher/dllmain.c index 2d6a369..63d2a46 100644 --- a/ExplorerPatcher/dllmain.c +++ b/ExplorerPatcher/dllmain.c @@ -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);