summaryrefslogtreecommitdiff
path: root/src/Workspace.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-08-24 11:19:45 (GMT)
committerfluxgen <fluxgen>2003-08-24 11:19:45 (GMT)
commitd509be7ac9a01ad5e2de4e4de510788ada3c8a60 (patch)
treee7e2317571a916a318ace7da21888f3653911cbf /src/Workspace.cc
parente405a967e2c17d8947fc80a31f211314499d5927 (diff)
downloadfluxbox_lack-d509be7ac9a01ad5e2de4e4de510788ada3c8a60.zip
fluxbox_lack-d509be7ac9a01ad5e2de4e4de510788ada3c8a60.tar.bz2
cleaning
Diffstat (limited to 'src/Workspace.cc')
-rw-r--r--src/Workspace.cc10
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) {
246void Workspace::showAll() { 246void 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() {
265void Workspace::removeAll() { 264void 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 {
291class FindInGroup { 289class FindInGroup {
292public: 290public:
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 }
297private: 295private: