Fix crash in EffectWindow::visibleInClientGroup() when it's called on a
window that doesn't have a decoration. BUG: 214757 svn path=/trunk/KDE/kdebase/workspace/; revision=1049896
This commit is contained in:
parent
f57028f387
commit
622828eba4
1 changed files with 4 additions and 0 deletions
|
@ -1516,7 +1516,11 @@ void EffectWindowImpl::closeWindow() const
|
|||
bool EffectWindowImpl::visibleInClientGroup() const
|
||||
{
|
||||
if( Client* c = dynamic_cast< Client* >( toplevel ))
|
||||
{
|
||||
if( !c->clientGroup() )
|
||||
return true;
|
||||
return c == c->clientGroup()->visible();
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue