aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/RowSmartPlacement.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/RowSmartPlacement.cc b/src/RowSmartPlacement.cc
index eca867f..95a8257 100644
--- a/src/RowSmartPlacement.cc
+++ b/src/RowSmartPlacement.cc
@@ -115,6 +115,7 @@ bool RowSmartPlacement::placeWindow(const FluxboxWindow &win, int head,
115 for (; win_it != win_it_end && placed; ++win_it) { 115 for (; win_it != win_it_end && placed; ++win_it) {
116 FluxboxWindow &window = **win_it; 116 FluxboxWindow &window = **win_it;
117 if (&window == &win) continue; 117 if (&window == &win) continue;
118 if (window.layerNum() != win.layerNum() ){ continue; } //windows are in different layers - skip it
118 119
119 int curr_x = window.x() - window.xOffset(); // minus offset to get back up to fake place 120 int curr_x = window.x() - window.xOffset(); // minus offset to get back up to fake place
120 int curr_y = window.y() - window.yOffset(); 121 int curr_y = window.y() - window.yOffset();