Browse Source

Fixed a bug that could make the Win+Alt+D shortcut to stop working unexpectedly

pull/886/head
Valentin Radu 4 years ago
parent
commit
8a45ffd523
  1. 5
      ExplorerPatcher/dllmain.c

5
ExplorerPatcher/dllmain.c

@ -1591,7 +1591,10 @@ INT64 Shell_TrayWndSubclassProc( @@ -1591,7 +1591,10 @@ INT64 Shell_TrayWndSubclassProc(
{
if (uMsg == WM_NCDESTROY)
{
UnregisterHotKey(hWnd, 'VNEP');
if (bIsPrimaryTaskbar)
{
UnregisterHotKey(hWnd, 'VNEP');
}
RemoveWindowSubclass(hWnd, Shell_TrayWndSubclassProc, Shell_TrayWndSubclassProc);
}
else if (!bIsPrimaryTaskbar && uMsg == WM_CONTEXTMENU)

Loading…
Cancel
Save