aboutsummaryrefslogtreecommitdiff
path: root/src/ScreenPlacement.cc
diff options
context:
space:
mode:
authorMathias Gumz <akira at fluxbox dot org>2011-03-19 18:29:43 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2011-03-19 18:29:43 (GMT)
commit9f2c37341c739e5f3e4ab9c23e95eb39bb01ec4a (patch)
tree0348b3df70f5d3593ac58ed826c85288b3335a23 /src/ScreenPlacement.cc
parent97e08c3853a77571f4d51b481581877db2250555 (diff)
downloadfluxbox-9f2c37341c739e5f3e4ab9c23e95eb39bb01ec4a.zip
fluxbox-9f2c37341c739e5f3e4ab9c23e95eb39bb01ec4a.tar.bz2
code cleanup: moved code from public API to implementation
renamed 'Region' to 'Area' to avoid conflicts with 'Region' from Xlib.
Diffstat (limited to 'src/ScreenPlacement.cc')
-rw-r--r--src/ScreenPlacement.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ScreenPlacement.cc b/src/ScreenPlacement.cc
index 1da1700..73ddfa2 100644
--- a/src/ScreenPlacement.cc
+++ b/src/ScreenPlacement.cc
@@ -75,7 +75,7 @@ bool ScreenPlacement::placeWindow(const FluxboxWindow &win, int head,
75 break; 75 break;
76 case ROWMINOVERLAPPLACEMENT: 76 case ROWMINOVERLAPPLACEMENT:
77 case COLMINOVERLAPPLACEMENT: 77 case COLMINOVERLAPPLACEMENT:
78 m_strategy.reset(new MinOverlapPlacement(*m_placement_policy)); 78 m_strategy.reset(new MinOverlapPlacement());
79 break; 79 break;
80 case CASCADEPLACEMENT: 80 case CASCADEPLACEMENT:
81 m_strategy.reset(new CascadePlacement(win.screen())); 81 m_strategy.reset(new CascadePlacement(win.screen()));