diff options
Diffstat (limited to 'src/Workspace.cc')
-rw-r--r-- | src/Workspace.cc | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/Workspace.cc b/src/Workspace.cc index 3023994..3bec41a 100644 --- a/src/Workspace.cc +++ b/src/Workspace.cc | |||
@@ -22,7 +22,7 @@ | |||
22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 | // DEALINGS IN THE SOFTWARE. | 23 | // DEALINGS IN THE SOFTWARE. |
24 | 24 | ||
25 | // $Id: Workspace.cc,v 1.80 2003/08/19 16:16:28 fluxgen Exp $ | 25 | // $Id: Workspace.cc,v 1.81 2003/08/24 11:16:42 fluxgen Exp $ |
26 | 26 | ||
27 | #include "Workspace.hh" | 27 | #include "Workspace.hh" |
28 | 28 | ||
@@ -246,9 +246,8 @@ void Workspace::removeWindow(WinClient &client) { | |||
246 | void Workspace::showAll() { | 246 | void Workspace::showAll() { |
247 | Windows::iterator it = m_windowlist.begin(); | 247 | Windows::iterator it = m_windowlist.begin(); |
248 | Windows::iterator it_end = m_windowlist.end(); | 248 | Windows::iterator it_end = m_windowlist.end(); |
249 | for (; it != it_end; ++it) { | 249 | for (; it != it_end; ++it) |
250 | (*it)->deiconify(false, false); | 250 | (*it)->deiconify(false, false); |
251 | } | ||
252 | } | 251 | } |
253 | 252 | ||
254 | 253 | ||
@@ -265,9 +264,8 @@ void Workspace::hideAll() { | |||
265 | void Workspace::removeAll() { | 264 | void Workspace::removeAll() { |
266 | Windows::iterator it = m_windowlist.begin(); | 265 | Windows::iterator it = m_windowlist.begin(); |
267 | Windows::const_iterator it_end = m_windowlist.end(); | 266 | Windows::const_iterator it_end = m_windowlist.end(); |
268 | for (; it != it_end; ++it) { | 267 | for (; it != it_end; ++it) |
269 | (*it)->iconify(); | 268 | (*it)->iconify(); |
270 | } | ||
271 | } | 269 | } |
272 | 270 | ||
273 | 271 | ||
@@ -291,7 +289,7 @@ namespace { | |||
291 | class FindInGroup { | 289 | class FindInGroup { |
292 | public: | 290 | public: |
293 | FindInGroup(const FluxboxWindow &w):m_w(w) { } | 291 | FindInGroup(const FluxboxWindow &w):m_w(w) { } |
294 | bool operator ()(const string &name) { | 292 | bool operator ()(const string &name) const { |
295 | return (name == m_w.winClient().getWMClassName()); | 293 | return (name == m_w.winClient().getWMClassName()); |
296 | } | 294 | } |
297 | private: | 295 | private: |