Browse Source

Fixed option to disable Office keys according to #661#discussioncomment-2001798 (the shortcut Ctrl+Alt+Shift+Win is unassigned as well)

pull/886/head 22000.434.41.6_a5faef1
Valentin Radu 4 years ago
parent
commit
a5faef1d1d
  1. 3
      ExplorerPatcher/dllmain.c

3
ExplorerPatcher/dllmain.c

@ -6295,7 +6295,8 @@ BOOL explorer_RegisterHotkeyHook(HWND hWnd, int id, UINT fsModifiers, UINT vk) @@ -6295,7 +6295,8 @@ BOOL explorer_RegisterHotkeyHook(HWND hWnd, int id, UINT fsModifiers, UINT vk)
vk == office_hotkeys[6] ||
vk == office_hotkeys[7] ||
vk == office_hotkeys[8] ||
vk == office_hotkeys[9]))
vk == office_hotkeys[9] ||
!vk))
{
SetLastError(ERROR_HOTKEY_ALREADY_REGISTERED);
return FALSE;

Loading…
Cancel
Save