aboutsummaryrefslogtreecommitdiff
path: root/src/CascadePlacement.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/CascadePlacement.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/CascadePlacement.cc')
-rw-r--r--src/CascadePlacement.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CascadePlacement.cc b/src/CascadePlacement.cc
index 3d4eeef..bd20e66 100644
--- a/src/CascadePlacement.cc
+++ b/src/CascadePlacement.cc
@@ -46,7 +46,7 @@ bool CascadePlacement::placeWindow(const std::list<FluxboxWindow *> &windowlist,
46 const FluxboxWindow &win, 46 const FluxboxWindow &win,
47 int &place_x, int &place_y) { 47 int &place_x, int &place_y) {
48 48
49 int head = (signed) win.screen().getCurrHead(); 49 int head = (signed) win.getOnHead();
50 int head_left = (signed) win.screen().maxLeft(head); 50 int head_left = (signed) win.screen().maxLeft(head);
51 int head_right = (signed) win.screen().maxRight(head); 51 int head_right = (signed) win.screen().maxRight(head);
52 int head_top = (signed) win.screen().maxTop(head); 52 int head_top = (signed) win.screen().maxTop(head);