fix ignoring dektop related windows for showing desktop state

icc-effect-5.14.5
Thomas Lübking 2012-09-04 15:55:35 +02:00
parent 203a9c1838
commit 0921af2129
1 changed files with 1 additions and 1 deletions

View File

@ -1226,7 +1226,7 @@ void Client::resetShowingDesktop(bool keep_hidden)
bool belongs_to_desktop = false;
for (ClientList::ConstIterator it = group()->members().constBegin(),
end = group()->members().constEnd(); it != end; ++it)
if ((belongs_to_desktop == (*it)->isDesktop()))
if ((belongs_to_desktop = (*it)->isDesktop()))
break;
if (!belongs_to_desktop)