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:
parent
7b0b67b988
commit
b053544c72
2 changed files with 4 additions and 0 deletions
|
@ -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() )
|
||||
|
|
|
@ -1041,6 +1041,7 @@ void Workspace::slotReconfigure()
|
|||
setupCompositing();
|
||||
if( effects ) // setupCompositing() may fail
|
||||
effects->reconfigure();
|
||||
addRepaintFull();
|
||||
}
|
||||
else
|
||||
finishCompositing();
|
||||
|
|
Loading…
Reference in a new issue