editeng/source/editeng/impedit.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit b229297372f793239f2304592f32065147169cde Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> Date: Sat May 14 21:01:35 2016 -0400 LOK: invalidate cursor only when required Change-Id: I3481dce94070f28593a970cb2d8530131165c41b Reviewed-on: https://gerrit.libreoffice.org/25016 Reviewed-by: Ashod Nakashian <ashnak...@gmail.com> Tested-by: Ashod Nakashian <ashnak...@gmail.com> diff --git a/editeng/source/editeng/impedit.cxx b/editeng/source/editeng/impedit.cxx index 5ac794a..8a0ebd3 100644 --- a/editeng/source/editeng/impedit.cxx +++ b/editeng/source/editeng/impedit.cxx @@ -963,7 +963,7 @@ void ImpEditView::ShowCursor( bool bGotoCursor, bool bForceVisCursor, sal_uInt16 GetCursor()->SetSize( aCursorSz ); - if (isTiledRendering()) + if (bGotoCursor && isTiledRendering()) { const Point& rPos = GetCursor()->GetPos(); Rectangle aRect(rPos.getX(), rPos.getY(), rPos.getX() + GetCursor()->GetWidth(), rPos.getY() + GetCursor()->GetHeight()); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits