mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-01 04:13:35 +00:00
[NtUser]
- Fix recursion issues, CORE-8780 and CORE-11979. See CORE-11324 for breakage. svn path=/trunk/; revision=72675
This commit is contained in:
@@ -577,6 +577,10 @@ co_IntSetActiveWindow(PWND Wnd OPTIONAL, BOOL bMouse, BOOL bFocus, BOOL Async)
|
||||
BOOL Ret, DoFG, AllowFG;
|
||||
|
||||
if (Wnd->state & WNDS_BEINGACTIVATED) return TRUE;
|
||||
if (Wnd == pWndChg)
|
||||
{
|
||||
return TRUE; // Fix CORE-8780 and CORE-11979. See CORE-11324 for breakage.
|
||||
}
|
||||
|
||||
if (ThreadQueue == Wnd->head.pti->MessageQueue)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user