- Fix screensave access hangs but it was recoverable and did not crash. The new ATI points seem to kick in so disabling them for now and leaving error prints. See bug 7225, need to separate the message queue.

svn path=/trunk/; revision=57114
This commit is contained in:
James Tabor 2012-08-20 05:19:50 +00:00
parent fe0ec3d865
commit 9e363e0bca

View file

@ -1090,7 +1090,8 @@ IntProcessOwnerSwap(PWND Wnd, PWND WndNewOwner, PWND WndOldOwner)
Wnd->head.pti == WndNewOwner->head.pti ||
WndOldOwner->head.pti != WndNewOwner->head.pti )
{
UserAttachThreadInput(Wnd->head.pti, WndOldOwner->head.pti, FALSE);
ERR("ProcessOwnerSwap Old out.\n");
//UserAttachThreadInput(Wnd->head.pti, WndOldOwner->head.pti, FALSE);
}
}
}
@ -1101,7 +1102,8 @@ IntProcessOwnerSwap(PWND Wnd, PWND WndNewOwner, PWND WndOldOwner)
if (!WndOldOwner ||
WndOldOwner->head.pti != WndNewOwner->head.pti )
{
UserAttachThreadInput(Wnd->head.pti, WndNewOwner->head.pti, TRUE);
ERR("ProcessOwnerSwap New in.\n");
//UserAttachThreadInput(Wnd->head.pti, WndNewOwner->head.pti, TRUE);
}
}
}
@ -1243,14 +1245,16 @@ co_IntSetParent(PWND Wnd, PWND WndNewParent)
{
if (Wnd->head.pti != WndOldParent->head.pti)
{
UserAttachThreadInput(Wnd->head.pti, WndOldParent->head.pti, FALSE);
ERR("SetParent Old out.\n");
//UserAttachThreadInput(Wnd->head.pti, WndOldParent->head.pti, FALSE);
}
}
if ( WndNewParent != co_GetDesktopWindow(Wnd))
{
if (Wnd->head.pti != WndNewParent->head.pti)
{
UserAttachThreadInput(Wnd->head.pti, WndNewParent->head.pti, TRUE);
ERR("SetParent New in.\n");
//UserAttachThreadInput(Wnd->head.pti, WndNewParent->head.pti, TRUE);
}
}
}
@ -1938,7 +1942,8 @@ PWND FASTCALL IntCreateWindow(CREATESTRUCTW* Cs,
Class->atomClassName != gpsi->atomSysClass[ICLS_IME] &&
pti != pWnd->spwndOwner->head.pti)
{
UserAttachThreadInput(pti, pWnd->spwndOwner->head.pti, TRUE);
ERR("CreateWindow Owner in.\n");
//UserAttachThreadInput(pti, pWnd->spwndOwner->head.pti, TRUE);
}
}
@ -2221,7 +2226,8 @@ co_UserCreateWindowEx(CREATESTRUCTW* Cs,
{
if (pti != Window->spwndParent->head.pti)
{
UserAttachThreadInput(pti, Window->spwndParent->head.pti, TRUE);
ERR("CreateWindow Parent in.\n");
//UserAttachThreadInput(pti, Window->spwndParent->head.pti, TRUE);
}
}
}
@ -2558,7 +2564,8 @@ BOOLEAN FASTCALL co_UserDestroyWindow(PWND Window)
{
if (Window->spwndOwner)
{
UserAttachThreadInput(Window->head.pti, Window->spwndOwner->head.pti, FALSE);
ERR("DestroyWindow Owner out.\n");
//UserAttachThreadInput(Window->head.pti, Window->spwndOwner->head.pti, FALSE);
}
}
}
@ -2596,7 +2603,8 @@ BOOLEAN FASTCALL co_UserDestroyWindow(PWND Window)
{
if (!IntIsTopLevelWindow(Window))
{
UserAttachThreadInput(Window->head.pti, Window->spwndParent->head.pti, FALSE);
ERR("DestroyWindow Parent out.\n");
//UserAttachThreadInput(Window->head.pti, Window->spwndParent->head.pti, FALSE);
}
}
}