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. 3
      ExplorerPatcher/dllmain.c

3
ExplorerPatcher/dllmain.c

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

Loading…
Cancel
Save