aboutsummaryrefslogtreecommitdiff
path: root/src/ColSmartPlacement.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/ColSmartPlacement.cc
parent42ace977752c4e2dc9e77794d0f9ac73c53437ef (diff)
downloadfluxbox-b504021145c9d79759c3809c4001ee2acdf4a5aa.zip
fluxbox-b504021145c9d79759c3809c4001ee2acdf4a5aa.tar.bz2
really fix placement when head is remembered but not position
Diffstat (limited to 'src/ColSmartPlacement.cc')
-rw-r--r--src/ColSmartPlacement.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ColSmartPlacement.cc b/src/ColSmartPlacement.cc
index 16c3b81..995a2f9 100644
--- a/src/ColSmartPlacement.cc
+++ b/src/ColSmartPlacement.cc
@@ -32,7 +32,7 @@ bool ColSmartPlacement::placeWindow(const std::list<FluxboxWindow *> &windowlist
32 int &place_x, int &place_y) { 32 int &place_x, int &place_y) {
33 33
34 // xinerama head constraints 34 // xinerama head constraints
35 int head = (signed) win.screen().getCurrHead(); 35 int head = (signed) win.getOnHead();
36 int head_left = (signed) win.screen().maxLeft(head); 36 int head_left = (signed) win.screen().maxLeft(head);
37 int head_right = (signed) win.screen().maxRight(head); 37 int head_right = (signed) win.screen().maxRight(head);
38 int head_top = (signed) win.screen().maxTop(head); 38 int head_top = (signed) win.screen().maxTop(head);