[Libreoffice-commits] core.git: vcl/source
Tor Lillqvist
tml at collabora.com
Fri Jul 3 04:49:23 PDT 2015
vcl/source/window/cursor.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 05806f4603476dd150af7770543fea749cc6d10c
Author: Tor Lillqvist <tml at collabora.com>
Date: Fri Jul 3 14:46:37 2015 +0300
Don't belive the 'draw direct' parameter when double-buffering
Avoids leftover artefacts of the blinking text insertion cursor. Did not seem
to have any ill effects.
Change-Id: I8a1e7413034eacb3014a4ca902cf5e72bda492a4
diff --git a/vcl/source/window/cursor.cxx b/vcl/source/window/cursor.cxx
index b665be7..e1119ae 100644
--- a/vcl/source/window/cursor.cxx
+++ b/vcl/source/window/cursor.cxx
@@ -167,6 +167,9 @@ void vcl::Cursor::ImplDoShow( bool bDrawDirect, bool bRestore )
if ( pWindow )
{
+ if ( pWindow->SupportsDoubleBuffering() )
+ bDrawDirect = false;
+
if ( !mpData )
{
mpData = new ImplCursorData;
More information about the Libreoffice-commits
mailing list