Browse Source

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

pull/886/head
Valentin Radu 4 years ago
parent
commit
2732c6160c
  1. 2
      ExplorerPatcher/dllmain.c

2
ExplorerPatcher/dllmain.c

@ -1605,7 +1605,7 @@ INT64 Shell_TrayWndSubclassProc( @@ -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);

Loading…
Cancel
Save