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;
|
break;
|
||||||
case VisibilityNotify:
|
case VisibilityNotify:
|
||||||
if( compositing() && overlay != None && e->xvisibility.window == overlay )
|
if( compositing() && overlay != None && e->xvisibility.window == overlay )
|
||||||
|
{
|
||||||
overlay_visible = ( e->xvisibility.state != VisibilityFullyObscured );
|
overlay_visible = ( e->xvisibility.state != VisibilityFullyObscured );
|
||||||
|
addRepaintFull();
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
if( e->type == Extensions::randrNotifyEvent() && Extensions::randrAvailable() )
|
if( e->type == Extensions::randrNotifyEvent() && Extensions::randrAvailable() )
|
||||||
|
|
|
@ -1041,6 +1041,7 @@ void Workspace::slotReconfigure()
|
||||||
setupCompositing();
|
setupCompositing();
|
||||||
if( effects ) // setupCompositing() may fail
|
if( effects ) // setupCompositing() may fail
|
||||||
effects->reconfigure();
|
effects->reconfigure();
|
||||||
|
addRepaintFull();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
finishCompositing();
|
finishCompositing();
|
||||||
|
|
Loading…
Reference in a new issue