From b91ffe51dc5f82bf75df08cb13fce57c16ff32a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9=20van=20Geldorp?= Date: Fri, 16 Jan 2004 13:26:26 +0000 Subject: [PATCH] Patch by Filip Navara. Fix window activation flickering svn path=/trunk/; revision=7682 --- reactos/subsys/win32k/ntuser/focus.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/reactos/subsys/win32k/ntuser/focus.c b/reactos/subsys/win32k/ntuser/focus.c index b9d0411940c..260a22fd1a1 100644 --- a/reactos/subsys/win32k/ntuser/focus.c +++ b/reactos/subsys/win32k/ntuser/focus.c @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: focus.c,v 1.10 2004/01/15 21:00:49 gvg Exp $ + * $Id: focus.c,v 1.11 2004/01/16 13:26:26 gvg Exp $ */ #include @@ -181,7 +181,7 @@ IntMouseActivateWindow(PWINDOW_OBJECT Window) HWND Top; PWINDOW_OBJECT TopWindow; - Top = NtUserGetAncestor(Window->Self, GA_ROOTOWNER); + Top = NtUserGetAncestor(Window->Self, GA_ROOT); if (Top != Window->Self) { TopWindow = IntGetWindowObject(Top); @@ -404,7 +404,7 @@ NtUserSetFocus(HWND hWnd) return 0; } - hWndTop = NtUserGetAncestor(hWnd, GA_ROOTOWNER); + hWndTop = NtUserGetAncestor(hWnd, GA_ROOT); if (hWndTop != NtUserGetActiveWindow()) { NtUserSetActiveWindow(hWndTop);