summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2021-01-28 12:12:45 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-01-28 12:17:21 +0100
commit28a8a14f1782520cf1699b5610b23917daa5ee9a (patch)
tree864148296808a7fbc8c8449bf52c348b008d8ab7 /vcl/source
parented28902e2d2b8929617c92226be985e322147569 (diff)
MouseSettingsOptions::AutoFocus is dead
ever since initial import Change-Id: I4ada9a00d3d13b90caa23e90eb66a13eef5c9f52 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110050 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
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