commit | bbf2efe38e9e0a4339becd3391cbdc6a842badc9 | [log] [tgz] |
---|---|---|
author | Rein Klazes <rklazes@casema.net> | Thu Oct 15 13:03:10 1998 +0000 |
committer | Alexandre Julliard <julliard@winehq.org> | Thu Oct 15 13:03:10 1998 +0000 |
tree | cb0c0a900ea7e79bf3e1fec6f9d06d1c754682bf | |
parent | 1ffe652cd1ad642704efd86a03974839af40e939 [diff] |
Fixed an error when an owned window activates its owner during creation.
diff --git a/windows/winpos.c b/windows/winpos.c index 2d5c5f1..a16b009 100644 --- a/windows/winpos.c +++ b/windows/winpos.c
@@ -1640,6 +1640,7 @@ /* 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;