diff options
Diffstat (limited to 'vcl/source/window/event.cxx')
-rw-r--r-- | vcl/source/window/event.cxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/vcl/source/window/event.cxx b/vcl/source/window/event.cxx index 6a9ed84cbaab..b344d7104fc6 100644 --- a/vcl/source/window/event.cxx +++ b/vcl/source/window/event.cxx @@ -629,11 +629,9 @@ void Window::ImplCallFocusChangeActivate( vcl::Window* pNewOverlapWindow, } if ( bCallActivate && ! pNewOverlapWindow->mpWindowImpl->mbActive ) { - if( ! pNewOverlapWindow->mpWindowImpl->mbActive ) - { - pNewOverlapWindow->mpWindowImpl->mbActive = true; - pNewOverlapWindow->Activate(); - } + pNewOverlapWindow->mpWindowImpl->mbActive = true; + pNewOverlapWindow->Activate(); + if ( pNewRealWindow != pNewOverlapWindow ) { if( ! pNewRealWindow->mpWindowImpl->mbActive ) |