No initial overlay window contents.

BUG: 166514


svn path=/trunk/KDE/kdebase/workspace/; revision=837331
This commit is contained in:
Luboš Luňák 2008-07-24 13:00:06 +00:00
parent 905b5676b2
commit f56fd92540

View file

@ -398,9 +398,13 @@ void Workspace::setupOverlay( Window w )
{
assert( overlay != None );
assert( Extensions::shapeInputAvailable());
XSetWindowBackgroundPixmap( display(), overlay, None );
XShapeCombineRectangles( display(), overlay, ShapeInput, 0, 0, NULL, 0, ShapeSet, Unsorted );
if( w != None )
{
XSetWindowBackgroundPixmap( display(), w, None );
XShapeCombineRectangles( display(), w, ShapeInput, 0, 0, NULL, 0, ShapeSet, Unsorted );
}
XSelectInput( display(), overlay, VisibilityChangeMask );
}