aboutsummaryrefslogtreecommitdiff
path: root/src/RowSmartPlacement.cc
diff options
context:
space:
mode:
authorsimonb <simonb>2006-03-20 13:18:31 (GMT)
committersimonb <simonb>2006-03-20 13:18:31 (GMT)
commit8e4f538cf9872ab0f44ad1e467d256e6626f768c (patch)
tree5e0327c361e11254369cedf385428766f9b732d4 /src/RowSmartPlacement.cc
parentf2d3fff4d4db7677814379139dcec3e31fc68047 (diff)
downloadfluxbox-8e4f538cf9872ab0f44ad1e467d256e6626f768c.zip
fluxbox-8e4f538cf9872ab0f44ad1e467d256e6626f768c.tar.bz2
some small placement fixes
Diffstat (limited to 'src/RowSmartPlacement.cc')
-rw-r--r--src/RowSmartPlacement.cc4
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