Make hasClient() check NET::Desktop windows too.

svn path=/trunk/kdebase/kwin/; revision=198738
This commit is contained in:
Luboš Luňák 2003-01-10 12:36:17 +00:00
parent 86cccebde6
commit 45e2d67eb2

View file

@ -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;
}