Trigger full repaint after configuration change and after switching to X,

just in case.
BUG: 154825


svn path=/trunk/KDE/kdebase/workspace/; revision=761857
This commit is contained in:
Luboš Luňák 2008-01-15 13:06:26 +00:00
parent 7b0b67b988
commit b053544c72
2 changed files with 4 additions and 0 deletions

View file

@ -476,7 +476,10 @@ bool Workspace::workspaceEvent( XEvent * e )
break;
case VisibilityNotify:
if( compositing() && overlay != None && e->xvisibility.window == overlay )
{
overlay_visible = ( e->xvisibility.state != VisibilityFullyObscured );
addRepaintFull();
}
break;
default:
if( e->type == Extensions::randrNotifyEvent() && Extensions::randrAvailable() )

View file

@ -1041,6 +1041,7 @@ void Workspace::slotReconfigure()
setupCompositing();
if( effects ) // setupCompositing() may fail
effects->reconfigure();
addRepaintFull();
}
else
finishCompositing();