$NetBSD: patch-be,v 1.1 2007/11/01 13:08:06 rillig Exp $

sunpro couldn't resolve "find" without the prefix. Maybe there is some
method of that name?

--- src/Workspace.cc.orig	2007-03-19 20:57:09.000000000 +0100
+++ src/Workspace.cc	2007-10-31 01:05:46.195938000 +0100
@@ -167,7 +167,7 @@ Workspace::~Workspace() {
 
 void Workspace::addWindow(FluxboxWindow &w, bool place) {
     // we don't need to add a window that already exist in our list
-    if (find(m_windowlist.begin(), m_windowlist.end(), &w) != m_windowlist.end())
+    if (std::find(m_windowlist.begin(), m_windowlist.end(), &w) != m_windowlist.end())
         return;
 
     w.setWorkspace(m_id);
@@ -207,7 +207,7 @@ int Workspace::removeWindow(FluxboxWindo
         FocusControl::unfocusWindow(w->winClient(), true, true);
 
     // we don't remove it from the layermanager, as it may be being moved
-    Windows::iterator erase_it = remove(m_windowlist.begin(),
+    Windows::iterator erase_it = std::remove(m_windowlist.begin(),
                                         m_windowlist.end(), w);
     if (erase_it != m_windowlist.end())
         m_windowlist.erase(erase_it);
