From bbf2efe38e9e0a4339becd3391cbdc6a842badc9 Mon Sep 17 00:00:00 2001 From: Rein Klazes Date: Thu, 15 Oct 1998 13:03:10 +0000 Subject: [PATCH] Fixed an error when an owned window activates its owner during creation. --- windows/winpos.c | 1 + 1 file changed, 1 insertion(+) diff --git a/windows/winpos.c b/windows/winpos.c index 2d5c5f10c20..a16b009d3b3 100644 --- a/windows/winpos.c +++ b/windows/winpos.c @@ -1640,6 +1640,7 @@ BOOL32 WINPOS_ChangeActiveWindow( HWND32 hWnd, BOOL32 mouseMsg ) /* owned popups imply owner activation - not sure */ if ((wndPtr->dwStyle & WS_POPUP) && wndPtr->owner && + (wndPtr->owner->dwStyle & WS_VISIBLE ) && !(wndPtr->owner->dwStyle & WS_DISABLED )) { if (!(wndPtr = wndPtr->owner)) return FALSE; -- 2.11.4.GIT