aboutsummaryrefslogtreecommitdiff
path: root/src/RowSmartPlacement.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/RowSmartPlacement.cc')
-rw-r--r--src/RowSmartPlacement.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/RowSmartPlacement.cc b/src/RowSmartPlacement.cc
index 22ab768..e2a0be4 100644
--- a/src/RowSmartPlacement.cc
+++ b/src/RowSmartPlacement.cc
@@ -27,7 +27,7 @@
27#include "Screen.hh" 27#include "Screen.hh"
28#include "ScreenPlacement.hh" 28#include "ScreenPlacement.hh"
29 29
30bool RowSmartPlacement::placeWindow(const std::vector<FluxboxWindow *> &windowlist, 30bool RowSmartPlacement::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
@@ -95,9 +95,9 @@ bool RowSmartPlacement::placeWindow(const std::vector<FluxboxWindow *> &windowli
95 95
96 next_x = test_x + change_x; 96 next_x = test_x + change_x;
97 97
98 std::vector<FluxboxWindow *>::const_iterator win_it = 98 std::list<FluxboxWindow *>::const_iterator win_it =
99 windowlist.begin(); 99 windowlist.begin();
100 std::vector<FluxboxWindow *>::const_iterator win_it_end = 100 std::list<FluxboxWindow *>::const_iterator win_it_end =
101 windowlist.end(); 101 windowlist.end();
102 102
103 for (; win_it != win_it_end && placed; ++win_it) { 103 for (; win_it != win_it_end && placed; ++win_it) {