Update RowSmartPlacement.cc Skip any window that does not exist in the same layer as the window to be placed.
Ken Moore moorekou@gmail.com
1 files changed,
1 insertions(+),
0 deletions(-)
jump to
M
src/RowSmartPlacement.cc
→
src/RowSmartPlacement.cc
@@ -115,6 +115,7 @@
for (; win_it != win_it_end && placed; ++win_it) { FluxboxWindow &window = **win_it; if (&window == &win) continue; + if (window.layerNum() != win.layerNum() ){ continue; } //windows are in different layers - skip it int curr_x = window.x() - window.xOffset(); // minus offset to get back up to fake place int curr_y = window.y() - window.yOffset();