[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-5.0' - editeng/source
Ashod Nakashian
ashod.nakashian at collabora.co.uk
Sun May 15 20:14:09 UTC 2016
editeng/source/editeng/impedit.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit b229297372f793239f2304592f32065147169cde
Author: Ashod Nakashian <ashod.nakashian at 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 <ashnakash at gmail.com>
Tested-by: Ashod Nakashian <ashnakash at 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());
More information about the Libreoffice-commits
mailing list