aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Layer.hh2
-rw-r--r--src/MinOverlapPlacement.cc2
-rw-r--r--src/Workspace.cc2
3 files changed, 4 insertions, 2 deletions
diff --git a/src/Layer.hh b/src/Layer.hh
index e86c090..aa99506 100644
--- a/src/Layer.hh
+++ b/src/Layer.hh
@@ -23,6 +23,8 @@
23#define LAYER_HH 23#define LAYER_HH
24 24
25#include <string> 25#include <string>
26#include <stdio.h>
27
26using std::string; 28using std::string;
27 29
28/** 30/**
diff --git a/src/MinOverlapPlacement.cc b/src/MinOverlapPlacement.cc
index 510f66e..ce7ff3c 100644
--- a/src/MinOverlapPlacement.cc
+++ b/src/MinOverlapPlacement.cc
@@ -155,7 +155,7 @@ bool MinOverlapPlacement::placeWindow(const FluxboxWindow &win, int head,
155 155
156 int overlap = 0; 156 int overlap = 0;
157 it = windowlist.rbegin(); 157 it = windowlist.rbegin();
158 for (; it != windowlist.rend(); ++it) { 158 for (; it != it_end; ++it) {
159 159
160 // get the dimensions of the window 160 // get the dimensions of the window
161 int left = (*it)->x() - (*it)->xOffset(); 161 int left = (*it)->x() - (*it)->xOffset();
diff --git a/src/Workspace.cc b/src/Workspace.cc
index 73ed077..cd899c6 100644
--- a/src/Workspace.cc
+++ b/src/Workspace.cc
@@ -136,7 +136,7 @@ void Workspace::hideAll(bool interrupt_moving) {
136void Workspace::removeAll(unsigned int dest) { 136void Workspace::removeAll(unsigned int dest) {
137 Windows tmp_list(m_windowlist); 137 Windows tmp_list(m_windowlist);
138 Windows::iterator it = tmp_list.begin(); 138 Windows::iterator it = tmp_list.begin();
139 Windows::const_iterator it_end = tmp_list.end(); 139 Windows::iterator it_end = tmp_list.end();
140 for (; it != it_end; ++it) 140 for (; it != it_end; ++it)
141 m_screen.sendToWorkspace(dest, *it, false); 141 m_screen.sendToWorkspace(dest, *it, false);
142} 142}