From 0921af21291fe4d67b7ea6141ceac0da8c2efd0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20L=C3=BCbking?= Date: Tue, 4 Sep 2012 15:55:35 +0200 Subject: [PATCH] fix ignoring dektop related windows for showing desktop state --- client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.cpp b/client.cpp index 39f41c3db5..b664d024c9 100644 --- a/client.cpp +++ b/client.cpp @@ -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)