21 Jul
2007
21 Jul
'07
11:50 p.m.
"Dmitry Timoshkov" <dmitry(a)codeweavers.com> wrote:
+ HWND parent = GetAncestor( winpos->hwnd, GA_PARENT ); orig_flags = winpos->flags; @@ -1592,7 +1593,7 @@ if((winpos->flags & (SWP_NOZORDER | SWP_HIDEWINDOW | SWP_SHOWWINDOW)) != SWP_NOZORDER) { - if (GetAncestor( winpos->hwnd, GA_PARENT ) == GetDesktopWindow()) + if (parent == GetDesktopWindow()) winpos->hwndInsertAfter = SWP_DoOwnedPopups( winpos->hwnd, winpos->hwndInsertAfter ); }
The changes above look not related to me, and they require a separate test case to prove their correctness.
Oops, sorry for the useless comment. -- Dmitry.