https://git.reactos.org/?p=reactos.git;a=commitdiff;h=8ca854251a89f45a90db8f60f607a477e7e8dbde

commit 8ca854251a89f45a90db8f60f607a477e7e8dbde
Author:     Katayama Hirofumi MZ <[email protected]>
AuthorDate: Tue Jan 15 13:45:28 2019 +0900
Commit:     GitHub <[email protected]>
CommitDate: Tue Jan 15 13:45:28 2019 +0900

    [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 67377de4a8..7cd2c8490d 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)

Reply via email to