diff options
Diffstat (limited to 'src/ScreenPlacement.cc')
-rw-r--r-- | src/ScreenPlacement.cc | 2 |
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())); |