From 8c668e6126161eb4d0bfc9ce49bcf2af44c4f539 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20L=C3=BCbking?= Date: Sun, 25 Sep 2011 17:52:05 +0200 Subject: [PATCH] fix tabbing ./. utility hiding BUG: 225500 REVIEW: 102699 --- workspace.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/workspace.cpp b/workspace.cpp index cf91480051..466dece787 100644 --- a/workspace.cpp +++ b/workspace.cpp @@ -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?) if (!options->hideUtilityWindowsForInactive) { - for (ClientList::ConstIterator it = clients.constBegin(); - it != clients.constEnd(); - ++it) - (*it)->hideClient(false); + for (ClientList::ConstIterator it = clients.constBegin(); it != clients.constEnd(); ++it) + if (!(*it)->clientGroup() || (*it)->clientGroup()->visible() == *it) + (*it)->hideClient(false); return; } const Group* group = NULL;