aboutsummaryrefslogtreecommitdiff
path: root/src/UnderMousePlacement.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/UnderMousePlacement.cc
parent42ace977752c4e2dc9e77794d0f9ac73c53437ef (diff)
downloadfluxbox_pavel-b504021145c9d79759c3809c4001ee2acdf4a5aa.zip
fluxbox_pavel-b504021145c9d79759c3809c4001ee2acdf4a5aa.tar.bz2
really fix placement when head is remembered but not position
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);