[Libreoffice-commits] core.git: Branch 'libreoffice-5-0' - sw/source

Jan Holesovsky kendy at collabora.com
Fri Jun 19 02:03:26 PDT 2015


 sw/source/core/layout/layact.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit cb011e8f4059c2969d13a2322565dcaae3962253
Author: Jan Holesovsky <kendy at collabora.com>
Date:   Fri Jun 19 10:59:03 2015 +0200

    rendercontext: Don't direct paint the SHOW_IDLE when double-buffering.
    
    Change-Id: I279187a80b4c6d1fe9e34e38451abeb496e53b37

diff --git a/sw/source/core/layout/layact.cxx b/sw/source/core/layout/layact.cxx
index 35a2fd2..4c61de4 100644
--- a/sw/source/core/layout/layact.cxx
+++ b/sw/source/core/layout/layact.cxx
@@ -2102,7 +2102,7 @@ void SwLayIdle::ShowIdle( ColorData eColorData )
     {
         m_bIndicator = true;
         vcl::Window *pWin = pImp->GetShell()->GetWin();
-        if ( pWin )
+        if (pWin && !pWin->SupportsDoubleBuffering()) // FIXME make this work with double-buffering
         {
             Rectangle aRect( 0, 0, 5, 5 );
             aRect = pWin->PixelToLogic( aRect );


More information about the Libreoffice-commits mailing list