[WIN32K]
authorGiannis Adamopoulos <gadamopoulos@reactos.org>
Tue, 28 Oct 2014 13:45:43 +0000 (13:45 +0000)
committerGiannis Adamopoulos <gadamopoulos@reactos.org>
Tue, 28 Oct 2014 13:45:43 +0000 (13:45 +0000)
- Send the HSHELL_TASKMAN notification to the shell when the windows key is pressed
- Needed to open and close the start menu with the keyboard

svn path=/branches/shell-experiments/; revision=65069

win32ss/user/ntuser/hotkey.c

index 5b2ed36..93038bb 100644 (file)
@@ -219,7 +219,7 @@ co_UserProcessHotKeys(WORD wVk, BOOL bIsDown)
                 {
                    TRACE("System Hot key Id %d Key %d\n",pHotKey->id, wVk );
                    UserPostMessage(UserHMGetHandle(pWnd), WM_SYSCOMMAND, SC_TASKLIST, 0);
                 {
                    TRACE("System Hot key Id %d Key %d\n",pHotKey->id, wVk );
                    UserPostMessage(UserHMGetHandle(pWnd), WM_SYSCOMMAND, SC_TASKLIST, 0);
-                   //ptiLastInput = pWnd->head.pti;
+                   co_IntShellHookNotify(HSHELL_TASKMAN, 0, 0);
                    bWinHotkeyActive = FALSE;
                    return FALSE;
                 }
                    bWinHotkeyActive = FALSE;
                    return FALSE;
                 }