Make hasClient() check NET::Desktop windows too.
svn path=/trunk/kdebase/kwin/; revision=198738icc-effect-5.14.5
parent
86cccebde6
commit
45e2d67eb2
|
@ -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 New Issue