summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/window/winproc.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/vcl/source/window/winproc.cxx b/vcl/source/window/winproc.cxx
index d6f1b1e18bc2..72aba0a4362d 100644
--- a/vcl/source/window/winproc.cxx
+++ b/vcl/source/window/winproc.cxx
@@ -666,12 +666,6 @@ bool ImplHandleMouseEvent( const VclPtr<vcl::Window>& xWindow, MouseNotifyEvent
}
else
{
- // Auto-ToTop
- if (!pSVData->mpWinData->mpCaptureWin
- && (pChild->GetSettings().GetMouseSettings().GetOptions()
- & MouseSettingsOptions::AutoFocus))
- pChild->ToTop( ToTopFlags::NoGrabFocus );
-
if( pChild->IsDisposed() )
bCallHelpRequest = false;
else