Fix compile on systems without XComposite.
svn path=/trunk/KDE/kdebase/workspace/; revision=870784
This commit is contained in:
parent
4982bb9909
commit
b19ba265f6
1 changed files with 4 additions and 0 deletions
|
@ -831,14 +831,18 @@ bool Toplevel::updateUnredirectedState()
|
|||
{
|
||||
unredirect = true;
|
||||
kDebug( 1212 ) << "Unredirecting:" << this;
|
||||
#ifdef HAVE_XCOMPOSITE
|
||||
XCompositeUnredirectWindow( display(), frameId(), CompositeRedirectManual );
|
||||
#endif
|
||||
return true;
|
||||
}
|
||||
else if( !should && unredirect )
|
||||
{
|
||||
unredirect = false;
|
||||
kDebug( 1212 ) << "Redirecting:" << this;
|
||||
#ifdef HAVE_XCOMPOSITE
|
||||
XCompositeRedirectWindow( display(), frameId(), CompositeRedirectManual );
|
||||
#endif
|
||||
discardWindowPixmap();
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue