diff options
author | markt <markt> | 2007-10-13 21:51:37 (GMT) |
---|---|---|
committer | markt <markt> | 2007-10-13 21:51:37 (GMT) |
commit | a59428d67a95a9df16554962f0a6257d6378328a (patch) | |
tree | f856ed9300c34f7a17d499f22d895610cfbc08e5 /src/RowSmartPlacement.cc | |
parent | 41b5c6dadb1f474675660cef18b812d4c2338ed2 (diff) | |
download | fluxbox-a59428d67a95a9df16554962f0a6257d6378328a.zip fluxbox-a59428d67a95a9df16554962f0a6257d6378328a.tar.bz2 |
merged changes from pre-devel
Diffstat (limited to 'src/RowSmartPlacement.cc')
-rw-r--r-- | src/RowSmartPlacement.cc | 6 |
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 | ||
30 | bool RowSmartPlacement::placeWindow(const std::vector<FluxboxWindow *> &windowlist, | 30 | bool 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) { |