No initial overlay window contents.
BUG: 166514 svn path=/trunk/KDE/kdebase/workspace/; revision=837331
This commit is contained in:
parent
905b5676b2
commit
f56fd92540
1 changed files with 4 additions and 0 deletions
|
@ -398,9 +398,13 @@ void Workspace::setupOverlay( Window w )
|
||||||
{
|
{
|
||||||
assert( overlay != None );
|
assert( overlay != None );
|
||||||
assert( Extensions::shapeInputAvailable());
|
assert( Extensions::shapeInputAvailable());
|
||||||
|
XSetWindowBackgroundPixmap( display(), overlay, None );
|
||||||
XShapeCombineRectangles( display(), overlay, ShapeInput, 0, 0, NULL, 0, ShapeSet, Unsorted );
|
XShapeCombineRectangles( display(), overlay, ShapeInput, 0, 0, NULL, 0, ShapeSet, Unsorted );
|
||||||
if( w != None )
|
if( w != None )
|
||||||
|
{
|
||||||
|
XSetWindowBackgroundPixmap( display(), w, None );
|
||||||
XShapeCombineRectangles( display(), w, ShapeInput, 0, 0, NULL, 0, ShapeSet, Unsorted );
|
XShapeCombineRectangles( display(), w, ShapeInput, 0, 0, NULL, 0, ShapeSet, Unsorted );
|
||||||
|
}
|
||||||
XSelectInput( display(), overlay, VisibilityChangeMask );
|
XSelectInput( display(), overlay, VisibilityChangeMask );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue