aboutsummaryrefslogtreecommitdiff
path: root/src/ScreenPlacement.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/ScreenPlacement.cc
parent42ace977752c4e2dc9e77794d0f9ac73c53437ef (diff)
downloadfluxbox-b504021145c9d79759c3809c4001ee2acdf4a5aa.zip
fluxbox-b504021145c9d79759c3809c4001ee2acdf4a5aa.tar.bz2
really fix placement when head is remembered but not position
Diffstat (limited to 'src/ScreenPlacement.cc')
-rw-r--r--src/ScreenPlacement.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ScreenPlacement.cc b/src/ScreenPlacement.cc
index d614488..e8d1592 100644
--- a/src/ScreenPlacement.cc
+++ b/src/ScreenPlacement.cc
@@ -88,7 +88,7 @@ bool ScreenPlacement::placeWindow(const std::list<FluxboxWindow *> &windowlist,
88 } 88 }
89 89
90 // view (screen + head) constraints 90 // view (screen + head) constraints
91 int head = (signed) win.screen().getCurrHead(); 91 int head = (signed) win.getOnHead();
92 int head_left = (signed) win.screen().maxLeft(head); 92 int head_left = (signed) win.screen().maxLeft(head);
93 int head_right = (signed) win.screen().maxRight(head); 93 int head_right = (signed) win.screen().maxRight(head);
94 int head_top = (signed) win.screen().maxTop(head); 94 int head_top = (signed) win.screen().maxTop(head);