From c87e532dcbd5f997f5f061709a5610fceff91713 Mon Sep 17 00:00:00 2001 From: James Tabor Date: Wed, 22 Feb 2017 00:25:13 +0000 Subject: [PATCH] [NtUser] - If an appication hangs other than suspended use Hung test to prevent locking the whole system. Quick fix for CORE-10078. svn path=/trunk/; revision=73876 --- reactos/win32ss/user/ntuser/painting.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/win32ss/user/ntuser/painting.c b/reactos/win32ss/user/ntuser/painting.c index 61306173ab9..a07b6b2fbaf 100644 --- a/reactos/win32ss/user/ntuser/painting.c +++ b/reactos/win32ss/user/ntuser/painting.c @@ -1111,7 +1111,7 @@ UpdateThreadWindows(PWND pWnd, PTHREADINFO pti, HRGN hRgn) } else { - if (IsThreadSuspended(pwndTemp->head.pti)) + if (IsThreadSuspended(pwndTemp->head.pti) || MsqIsHung(pwndTemp->head.pti)) { UpdateTheadChildren(pwndTemp, hRgn); }