diff options
Diffstat (limited to 'src/RowSmartPlacement.cc')
-rw-r--r-- | src/RowSmartPlacement.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/RowSmartPlacement.cc b/src/RowSmartPlacement.cc index 79b42bb..3b17aa1 100644 --- a/src/RowSmartPlacement.cc +++ b/src/RowSmartPlacement.cc | |||
@@ -55,16 +55,16 @@ bool RowSmartPlacement::placeWindow(const FluxboxWindow &win, int head, | |||
55 | const ScreenPlacement &screen_placement = win.screen().placementStrategy(); | 55 | const ScreenPlacement &screen_placement = win.screen().placementStrategy(); |
56 | 56 | ||
57 | bool top_bot = | 57 | bool top_bot = |
58 | screen_placement.colDirection() == ScreenPlacement::TOPBOTTOM; | 58 | screen_placement.colDirection() == TOPBOTTOMDIRECTION; |
59 | bool left_right = | 59 | bool left_right = |
60 | screen_placement.rowDirection() == ScreenPlacement::LEFTRIGHT; | 60 | screen_placement.rowDirection() == LEFTRIGHTDIRECTION; |
61 | 61 | ||
62 | int change_x = 1, change_y = 1; | 62 | int change_x = 1, change_y = 1; |
63 | 63 | ||
64 | if (screen_placement.colDirection() == ScreenPlacement::BOTTOMTOP) | 64 | if (screen_placement.colDirection() == BOTTOMTOPDIRECTION) |
65 | change_y = -1; | 65 | change_y = -1; |
66 | 66 | ||
67 | if (screen_placement.rowDirection() == ScreenPlacement::RIGHTLEFT) | 67 | if (screen_placement.rowDirection() == RIGHTLEFTDIRECTION) |
68 | change_x = -1; | 68 | change_x = -1; |
69 | 69 | ||
70 | int win_w = win.width() + win.fbWindow().borderWidth()*2 + win.widthOffset(); | 70 | int win_w = win.width() + win.fbWindow().borderWidth()*2 + win.widthOffset(); |