From 39e0bdcbcc37f297e34a7b60623d05739710f870 Mon Sep 17 00:00:00 2001 From: Mark Tiefenbruck Date: Mon, 8 Sep 2008 13:52:38 -0400 Subject: remove unnecessary signals causing toolbar renders on workspace change --- src/FocusableList.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/FocusableList.cc b/src/FocusableList.cc index 98492b8..094a9b5 100644 --- a/src/FocusableList.cc +++ b/src/FocusableList.cc @@ -197,10 +197,10 @@ void FocusableList::addMatching() { Focusables::const_iterator it = list.begin(), it_end = list.end(); for (; it != it_end; ++it) { if (m_pat->match(**it)) { - pushBack(**it); + m_list.push_back(*it); m_pat->addMatch(); - } else // we still want to watch it, in case it changes to match - attachSignals(**it); + } + attachSignals(**it); } } -- cgit v0.11.2