summaryrefslogtreecommitdiff
path: root/src/UnderMousePlacement.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/UnderMousePlacement.cc')
-rw-r--r--src/UnderMousePlacement.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/UnderMousePlacement.cc b/src/UnderMousePlacement.cc
index e601e77..c20e988 100644
--- a/src/UnderMousePlacement.cc
+++ b/src/UnderMousePlacement.cc
@@ -51,7 +51,7 @@ bool UnderMousePlacement::placeWindow(const std::list<FluxboxWindow *> &list,
51 int test_y = root_y - (win_h / 2); 51 int test_y = root_y - (win_h / 2);
52 52
53 // keep the window inside the screen 53 // keep the window inside the screen
54 int head = (signed) win.screen().getCurrHead(); 54 int head = (signed) win.getOnHead();
55 int head_left = (signed) win.screen().maxLeft(head); 55 int head_left = (signed) win.screen().maxLeft(head);
56 int head_right = (signed) win.screen().maxRight(head); 56 int head_right = (signed) win.screen().maxRight(head);
57 int head_top = (signed) win.screen().maxTop(head); 57 int head_top = (signed) win.screen().maxTop(head);