aboutsummaryrefslogtreecommitdiff
path: root/src/RowSmartPlacement.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/RowSmartPlacement.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/RowSmartPlacement.cc')
-rw-r--r--src/RowSmartPlacement.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/RowSmartPlacement.cc b/src/RowSmartPlacement.cc
index e2a0be4..ec6078f 100644
--- a/src/RowSmartPlacement.cc
+++ b/src/RowSmartPlacement.cc
@@ -35,7 +35,7 @@ bool RowSmartPlacement::placeWindow(const std::list<FluxboxWindow *> &windowlist
35 int next_x, next_y; 35 int next_x, next_y;
36 36
37 // view (screen + head) constraints 37 // view (screen + head) constraints
38 int head = (signed) win.screen().getCurrHead(); 38 int head = (signed) win.getOnHead();
39 int head_left = (signed) win.screen().maxLeft(head); 39 int head_left = (signed) win.screen().maxLeft(head);
40 int head_right = (signed) win.screen().maxRight(head); 40 int head_right = (signed) win.screen().maxRight(head);
41 int head_top = (signed) win.screen().maxTop(head); 41 int head_top = (signed) win.screen().maxTop(head);