summaryrefslogtreecommitdiff
path: root/src/MinOverlapPlacement.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/MinOverlapPlacement.cc')
-rw-r--r--src/MinOverlapPlacement.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MinOverlapPlacement.cc b/src/MinOverlapPlacement.cc
index e7e80cb..68301c6 100644
--- a/src/MinOverlapPlacement.cc
+++ b/src/MinOverlapPlacement.cc
@@ -39,7 +39,7 @@ bool MinOverlapPlacement::placeWindow(
39 const FluxboxWindow &win, int &place_x, int &place_y) { 39 const FluxboxWindow &win, int &place_x, int &place_y) {
40 40
41 // view (screen + head) constraints 41 // view (screen + head) constraints
42 int head = (signed) win.screen().getCurrHead(); 42 int head = (signed) win.getOnHead();
43 int head_left = (signed) win.screen().maxLeft(head); 43 int head_left = (signed) win.screen().maxLeft(head);
44 int head_right = (signed) win.screen().maxRight(head); 44 int head_right = (signed) win.screen().maxRight(head);
45 int head_top = (signed) win.screen().maxTop(head); 45 int head_top = (signed) win.screen().maxTop(head);