Kaydet (Commit) 7d542345 authored tarafından Jan Holesovsky's avatar Jan Holesovsky Kaydeden (comit) Andras Timar

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

Change-Id: I279187a80b4c6d1fe9e34e38451abeb496e53b37
üst a117e259
...@@ -2102,7 +2102,7 @@ void SwLayIdle::ShowIdle( ColorData eColorData ) ...@@ -2102,7 +2102,7 @@ void SwLayIdle::ShowIdle( ColorData eColorData )
{ {
m_bIndicator = true; m_bIndicator = true;
vcl::Window *pWin = pImp->GetShell()->GetWin(); 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 ); Rectangle aRect( 0, 0, 5, 5 );
aRect = pWin->PixelToLogic( aRect ); aRect = pWin->PixelToLogic( aRect );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment