diff options
Diffstat (limited to 'src/RowSmartPlacement.cc')
-rw-r--r-- | src/RowSmartPlacement.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/RowSmartPlacement.cc b/src/RowSmartPlacement.cc index 1c66a18..22ab768 100644 --- a/src/RowSmartPlacement.cc +++ b/src/RowSmartPlacement.cc | |||
@@ -103,8 +103,8 @@ bool RowSmartPlacement::placeWindow(const std::vector<FluxboxWindow *> &windowli | |||
103 | for (; win_it != win_it_end && placed; ++win_it) { | 103 | for (; win_it != win_it_end && placed; ++win_it) { |
104 | FluxboxWindow &window = **win_it; | 104 | FluxboxWindow &window = **win_it; |
105 | 105 | ||
106 | int curr_x = window.x() + window.xOffset(); | 106 | int curr_x = window.x() - window.xOffset(); // minus offset to get back up to fake place |
107 | int curr_y = window.y() + window.yOffset(); | 107 | int curr_y = window.y() - window.yOffset(); |
108 | int curr_w = window.width() + window.fbWindow().borderWidth()*2 + window.widthOffset(); | 108 | int curr_w = window.width() + window.fbWindow().borderWidth()*2 + window.widthOffset(); |
109 | int curr_h = window.height() + window.fbWindow().borderWidth()*2 + window.heightOffset(); | 109 | int curr_h = window.height() + window.fbWindow().borderWidth()*2 + window.heightOffset(); |
110 | 110 | ||