diff options
Diffstat (limited to 'src/ColSmartPlacement.cc')
-rw-r--r-- | src/ColSmartPlacement.cc | 2 |
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); |