fix tabbing ./. utility hiding

BUG: 225500
REVIEW: 102699
This commit is contained in:
Thomas Lübking 2011-09-25 17:52:05 +02:00
parent 51ef7518dd
commit 8c668e6126

View file

@ -809,10 +809,9 @@ void Workspace::updateToolWindows(bool also_hide)
{ {
// TODO: What if Client's transiency/group changes? should this be called too? (I'm paranoid, am I not?) // TODO: What if Client's transiency/group changes? should this be called too? (I'm paranoid, am I not?)
if (!options->hideUtilityWindowsForInactive) { if (!options->hideUtilityWindowsForInactive) {
for (ClientList::ConstIterator it = clients.constBegin(); for (ClientList::ConstIterator it = clients.constBegin(); it != clients.constEnd(); ++it)
it != clients.constEnd(); if (!(*it)->clientGroup() || (*it)->clientGroup()->visible() == *it)
++it) (*it)->hideClient(false);
(*it)->hideClient(false);
return; return;
} }
const Group* group = NULL; const Group* group = NULL;