aboutsummaryrefslogtreecommitdiff
path: root/src/MinOverlapPlacement.hh
diff options
context:
space:
mode:
authormarkt <markt>2007-10-24 17:09:26 (GMT)
committermarkt <markt>2007-10-24 17:09:26 (GMT)
commitf3afe787c1209cf1357493924a4f7eb7864def54 (patch)
treed0c0c3eca154ab538fbc1fb3c62081e9250c05bd /src/MinOverlapPlacement.hh
parent74eb584a312aba21b21eccb6c49ade1571aa3740 (diff)
downloadfluxbox-f3afe787c1209cf1357493924a4f7eb7864def54.zip
fluxbox-f3afe787c1209cf1357493924a4f7eb7864def54.tar.bz2
introduced workspacename for ClientPattern, and some miscellaneous cleanup
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