From 8ca854251a89f45a90db8f60f607a477e7e8dbde Mon Sep 17 00:00:00 2001 From: Katayama Hirofumi MZ Date: Tue, 15 Jan 2019 13:45:28 +0900 Subject: [PATCH] [WIN32SS][NTUSER] Don't freeze Task Bar in switching the app (#1243) This avoids taskbar hung up. --- win32ss/user/ntuser/simplecall.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/win32ss/user/ntuser/simplecall.c b/win32ss/user/ntuser/simplecall.c index 67377de4a8c..7cd2c8490d9 100644 --- a/win32ss/user/ntuser/simplecall.c +++ b/win32ss/user/ntuser/simplecall.c @@ -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)