aboutsummaryrefslogtreecommitdiff
path: root/src/MinOverlapPlacement.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/MinOverlapPlacement.hh')
-rw-r--r--src/MinOverlapPlacement.hh4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/MinOverlapPlacement.hh b/src/MinOverlapPlacement.hh
index 20b5c95..e818d4b 100644
--- a/src/MinOverlapPlacement.hh
+++ b/src/MinOverlapPlacement.hh
@@ -30,8 +30,7 @@ class MinOverlapPlacement: public PlacementStrategy {
30public: 30public:
31 MinOverlapPlacement(ScreenPlacement::PlacementPolicy policy); 31 MinOverlapPlacement(ScreenPlacement::PlacementPolicy policy);
32 32
33 bool placeWindow(const std::list<FluxboxWindow *> &windowlist, 33 bool placeWindow(const FluxboxWindow &win, int head,
34 const FluxboxWindow &win,
35 int &place_x, int &place_y); 34 int &place_x, int &place_y);
36 35
37private: 36private:
@@ -50,7 +49,6 @@ private:
50 49
51 // do all STL set implementations use this for sorting? 50 // do all STL set implementations use this for sorting?
52 bool operator <(const Region &o) const { 51 bool operator <(const Region &o) const {
53 // for now, I'm assuming RowSmartPlacement, so y is more important
54 switch (MinOverlapPlacement::s_policy) { 52 switch (MinOverlapPlacement::s_policy) {
55 case ScreenPlacement::ROWMINOVERLAPPLACEMENT: 53 case ScreenPlacement::ROWMINOVERLAPPLACEMENT:
56 // if we're making rows, y-value is most important 54 // if we're making rows, y-value is most important