aboutsummaryrefslogtreecommitdiff
path: root/src/MinOverlapPlacement.cc
diff options
context:
space:
mode:
authormarkt <markt>2007-10-24 03:44:39 (GMT)
committermarkt <markt>2007-10-24 03:44:39 (GMT)
commitb504021145c9d79759c3809c4001ee2acdf4a5aa (patch)
tree8cf1dfa7beee656a075042682b6c600e4423be5c /src/MinOverlapPlacement.cc
parent42ace977752c4e2dc9e77794d0f9ac73c53437ef (diff)
downloadfluxbox-b504021145c9d79759c3809c4001ee2acdf4a5aa.zip
fluxbox-b504021145c9d79759c3809c4001ee2acdf4a5aa.tar.bz2
really fix placement when head is remembered but not position
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);