summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-05-20 12:05:50 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-05-20 12:38:07 +0200
commitcc5f9db22ea7a127507584ab32cf1c2aa1a8979c (patch)
treee126614151a7bd0330a8351edb130e8476b01aeb /sw
parent7c0efaab356d082dd95baf8fe40dbfb413b6d506 (diff)
SwEditWin::MouseMove: ignore visual area when tiled rendering
With this, it's possible to do mouse-button-down + move several times + mouse-button-up desktop-style selection of Writer text. Change-Id: If0711c5d397a8342b31c9b5448bf6223990529e4
Diffstat (limited to 'sw')
-rw-r--r--sw/source/uibase/docvw/edtwin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/docvw/edtwin.cxx b/sw/source/uibase/docvw/edtwin.cxx
index 8ff7f5366570..c88a0f858f3e 100644
--- a/sw/source/uibase/docvw/edtwin.cxx
+++ b/sw/source/uibase/docvw/edtwin.cxx
@@ -3729,7 +3729,7 @@ void SwEditWin::MouseMove(const MouseEvent& _rMEvt)
}
const Point aOldPt( rSh.VisArea().Pos() );
- const bool bInsWin = rSh.VisArea().IsInside( aDocPt );
+ const bool bInsWin = rSh.VisArea().IsInside( aDocPt ) || rSh.isTiledRendering();
if( m_pShadCrsr && !bInsWin )
delete m_pShadCrsr, m_pShadCrsr = 0;