fix secondary test for hiding utility windows

broke with 2ae475ce
CCBUG: 320921
REVIEW: 111302
This commit is contained in:
Thomas Lübking 2013-06-28 20:31:04 +02:00
parent dcd670692b
commit 89a1027ac8

View file

@ -703,7 +703,7 @@ void Workspace::updateToolWindows(bool also_hide)
for (ClientList::ConstIterator it2 = mainclients.constBegin();
it2 != mainclients.constEnd();
++it2) {
if (c->isSpecialWindow())
if ((*it2)->isSpecialWindow())
show = true;
}
if (!show)