vcl/source/window/cursor.cxx | 3 +++ 1 file changed, 3 insertions(+) New commits: commit 05806f4603476dd150af7770543fea749cc6d10c Author: Tor Lillqvist <t...@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; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits