From f56fd92540dbd124464ad7a59ff3db9bf6eeb710 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Thu, 24 Jul 2008 13:00:06 +0000 Subject: [PATCH] No initial overlay window contents. BUG: 166514 svn path=/trunk/KDE/kdebase/workspace/; revision=837331 --- composite.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/composite.cpp b/composite.cpp index 3a14f9a8a0..bb080c53cc 100644 --- a/composite.cpp +++ b/composite.cpp @@ -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 ); }