aboutsummaryrefslogtreecommitdiff
path: root/src/ColSmartPlacement.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/ColSmartPlacement.cc')
-rw-r--r--src/ColSmartPlacement.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ColSmartPlacement.cc b/src/ColSmartPlacement.cc
index cb3fbd9..16c3b81 100644
--- a/src/ColSmartPlacement.cc
+++ b/src/ColSmartPlacement.cc
@@ -27,7 +27,7 @@
27#include "ScreenPlacement.hh" 27#include "ScreenPlacement.hh"
28#include "Window.hh" 28#include "Window.hh"
29 29
30bool ColSmartPlacement::placeWindow(const std::vector<FluxboxWindow *> &windowlist, 30bool ColSmartPlacement::placeWindow(const std::list<FluxboxWindow *> &windowlist,
31 const FluxboxWindow &win, 31 const FluxboxWindow &win,
32 int &place_x, int &place_y) { 32 int &place_x, int &place_y) {
33 33
@@ -85,9 +85,9 @@ bool ColSmartPlacement::placeWindow(const std::vector<FluxboxWindow *> &windowli
85 85
86 next_y = test_y + change_y; 86 next_y = test_y + change_y;
87 87
88 std::vector<FluxboxWindow *>::const_iterator it = 88 std::list<FluxboxWindow *>::const_iterator it =
89 windowlist.begin(); 89 windowlist.begin();
90 std::vector<FluxboxWindow *>::const_iterator it_end = 90 std::list<FluxboxWindow *>::const_iterator it_end =
91 windowlist.end(); 91 windowlist.end();
92 for (; it != it_end && placed; ++it) { 92 for (; it != it_end && placed; ++it) {
93 int curr_x = (*it)->x() - (*it)->xOffset(); 93 int curr_x = (*it)->x() - (*it)->xOffset();