Kaydet (Commit) ccda9e46 authored tarafından Jan Holesovsky's avatar Jan Holesovsky

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

Change-Id: I279187a80b4c6d1fe9e34e38451abeb496e53b37
üst 34761d98
...@@ -2103,7 +2103,7 @@ void SwLayIdle::ShowIdle( ColorData eColorData ) ...@@ -2103,7 +2103,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