diff options
Diffstat (limited to 'src/FocusableList.cc')
-rw-r--r-- | src/FocusableList.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FocusableList.cc b/src/FocusableList.cc index 382a6f5..87c5bcc 100644 --- a/src/FocusableList.cc +++ b/src/FocusableList.cc | |||
@@ -169,7 +169,7 @@ bool FocusableList::insertFromParent(Focusable &win) { | |||
169 | Focusables::iterator our_it = m_list.begin(), our_it_end = m_list.end(); | 169 | Focusables::iterator our_it = m_list.begin(), our_it_end = m_list.end(); |
170 | // walk through our list looking for corresponding entries in | 170 | // walk through our list looking for corresponding entries in |
171 | // parent's list, until we find the window that moved | 171 | // parent's list, until we find the window that moved |
172 | for (; our_it != our_it_end && p_it != p_it_end; p_it++) { | 172 | for (; our_it != our_it_end && p_it != p_it_end; ++p_it) { |
173 | if (*p_it == &win) { | 173 | if (*p_it == &win) { |
174 | if (*our_it == &win) // win didn't move in our list | 174 | if (*our_it == &win) // win didn't move in our list |
175 | return false; | 175 | return false; |