Make hasClient() check NET::Desktop windows too.
svn path=/trunk/kdebase/kwin/; revision=198738
This commit is contained in:
parent
86cccebde6
commit
45e2d67eb2
1 changed files with 4 additions and 0 deletions
|
@ -764,6 +764,10 @@ bool Workspace::hasClient(Client* c)
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
for ( ClientList::ConstIterator it = desktops.begin(); it != desktops.end(); ++it) {
|
||||
if ( (*it) == c )
|
||||
return TRUE;
|
||||
}
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue