summaryrefslogtreecommitdiff
path: root/src/MinOverlapPlacement.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/MinOverlapPlacement.cc')
-rw-r--r--src/MinOverlapPlacement.cc2
1 files changed, 1 insertions, 1 deletions
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();