aboutsummaryrefslogtreecommitdiff
path: root/src/ColSmartPlacement.cc
diff options
context:
space:
mode:
authormarkt <markt>2007-10-13 21:51:37 (GMT)
committermarkt <markt>2007-10-13 21:51:37 (GMT)
commita59428d67a95a9df16554962f0a6257d6378328a (patch)
treef856ed9300c34f7a17d499f22d895610cfbc08e5 /src/ColSmartPlacement.cc
parent41b5c6dadb1f474675660cef18b812d4c2338ed2 (diff)
downloadfluxbox-a59428d67a95a9df16554962f0a6257d6378328a.zip
fluxbox-a59428d67a95a9df16554962f0a6257d6378328a.tar.bz2
merged changes from pre-devel
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();