diff options
Diffstat (limited to 'src/RowSmartPlacement.cc')
-rw-r--r-- | src/RowSmartPlacement.cc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/RowSmartPlacement.cc b/src/RowSmartPlacement.cc index 79b42bb..eca867f 100644 --- a/src/RowSmartPlacement.cc +++ b/src/RowSmartPlacement.cc | |||
@@ -59,10 +59,12 @@ bool RowSmartPlacement::placeWindow(const FluxboxWindow &win, int head, | |||
59 | bool left_right = | 59 | bool left_right = |
60 | screen_placement.rowDirection() == ScreenPlacement::LEFTRIGHT; | 60 | screen_placement.rowDirection() == ScreenPlacement::LEFTRIGHT; |
61 | 61 | ||
62 | int change_x = 1, change_y = 1; | 62 | int change_x = 1; |
63 | 63 | ||
64 | if (screen_placement.colDirection() == ScreenPlacement::BOTTOMTOP) | 64 | // unused code: |
65 | change_y = -1; | 65 | // int change_y = 1; |
66 | // if (screen_placement.colDirection() == ScreenPlacement::BOTTOMTOP) | ||
67 | // change_y = -1; | ||
66 | 68 | ||
67 | if (screen_placement.rowDirection() == ScreenPlacement::RIGHTLEFT) | 69 | if (screen_placement.rowDirection() == ScreenPlacement::RIGHTLEFT) |
68 | change_x = -1; | 70 | change_x = -1; |