[WIN32SS][NTUSER] Don't freeze Task Bar in switching the app (#1243)
authorKatayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>
Tue, 15 Jan 2019 04:45:28 +0000 (13:45 +0900)
committerGitHub <noreply@github.com>
Tue, 15 Jan 2019 04:45:28 +0000 (13:45 +0900)
This avoids taskbar hung up.

win32ss/user/ntuser/simplecall.c

index 67377de..7cd2c84 100644 (file)
@@ -515,6 +515,11 @@ NtUserCallTwoParam(
             {
                 break;
             }
+            if (MsqIsHung(Window->head.pti))
+            {
+                // TODO: Make the window ghosted and activate.
+                break;
+            }
             if (fAltTab)
             {
                 if (Window->style & WS_MINIMIZE)