diff options
author | Mathias Gumz <akira@fluxbox.org> | 2015-01-22 09:09:08 (GMT) |
---|---|---|
committer | Mathias Gumz <akira@fluxbox.org> | 2015-01-22 09:09:08 (GMT) |
commit | 5428edf3daec57f490518ac356f60cc1a05a3693 (patch) | |
tree | 5b88c07a8b8b5b7bb39fac5e85e7ddf26d822e0b /src/OSDWindow.hh | |
parent | 1ec4fb6b6cb6d4b93dddc40c59abf62552445ad2 (diff) | |
download | fluxbox-5428edf3daec57f490518ac356f60cc1a05a3693.zip fluxbox-5428edf3daec57f490518ac356f60cc1a05a3693.tar.bz2 |
Fix removing windows from icon list
std::remove_if() removes an item from a container and returns a
past-the-end iterator ... which equals m_icon_list.end(). As a result
the check
if (erase_it != m_icon_list.end()) {
iconList().erase(erase_it);
iconListSig().emit(*this);
}
will never succeed and thus the iconListSig() will never be emitted.
Diffstat (limited to 'src/OSDWindow.hh')
0 files changed, 0 insertions, 0 deletions