aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Screen.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Screen.cc b/src/Screen.cc
index 2ae63a1..5e6f38e 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -797,9 +797,9 @@ void BScreen::removeIcon(FluxboxWindow *w) {
797 if (w == 0) 797 if (w == 0)
798 return; 798 return;
799 799
800 Icons::iterator erase_it = remove_if(iconList().begin(), 800 Icons::iterator erase_it = find_if(iconList().begin(),
801 iconList().end(), 801 iconList().end(),
802 bind2nd(equal_to<FluxboxWindow *>(), w)); 802 bind2nd(equal_to<FluxboxWindow *>(), w));
803 // no need to send iconlist signal if we didn't 803 // no need to send iconlist signal if we didn't
804 // change the iconlist 804 // change the iconlist
805 if (erase_it != m_icon_list.end()) { 805 if (erase_it != m_icon_list.end()) {