aboutsummaryrefslogtreecommitdiff
path: root/src/RowSmartPlacement.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/RowSmartPlacement.cc')
-rw-r--r--src/RowSmartPlacement.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/RowSmartPlacement.cc b/src/RowSmartPlacement.cc
index e2a0be4..ec6078f 100644
--- a/src/RowSmartPlacement.cc
+++ b/src/RowSmartPlacement.cc
@@ -35,7 +35,7 @@ bool RowSmartPlacement::placeWindow(const std::list<FluxboxWindow *> &windowlist
35 int next_x, next_y; 35 int next_x, next_y;
36 36
37 // view (screen + head) constraints 37 // view (screen + head) constraints
38 int head = (signed) win.screen().getCurrHead(); 38 int head = (signed) win.getOnHead();
39 int head_left = (signed) win.screen().maxLeft(head); 39 int head_left = (signed) win.screen().maxLeft(head);
40 int head_right = (signed) win.screen().maxRight(head); 40 int head_right = (signed) win.screen().maxRight(head);
41 int head_top = (signed) win.screen().maxTop(head); 41 int head_top = (signed) win.screen().maxTop(head);