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

svn path=/trunk/kdebase/kwin/; revision=198738
icc-effect-5.14.5
Luboš Luňák 2003-01-10 12:36:17 +00:00
parent 86cccebde6
commit 45e2d67eb2
1 changed files with 4 additions and 0 deletions

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