[WIN32SS][NTUSER] Don't freeze Task Bar in switching the app (#1243)
[reactos.git] / win32ss / user / ntuser / simplecall.c
index 67377de..7cd2c84 100644 (file)
@@ -515,6 +515,11 @@ NtUserCallTwoParam(
             {
                 break;
             }
             {
                 break;
             }
+            if (MsqIsHung(Window->head.pti))
+            {
+                // TODO: Make the window ghosted and activate.
+                break;
+            }
             if (fAltTab)
             {
                 if (Window->style & WS_MINIMIZE)
             if (fAltTab)
             {
                 if (Window->style & WS_MINIMIZE)