Update MinOverlapPlacement.cc Skip any windows which are not in the same layer as the window to be placed.
Ken Moore moorekou@gmail.com
1 files changed,
2 insertions(+),
1 deletions(-)
jump to
M
src/MinOverlapPlacement.cc
→
src/MinOverlapPlacement.cc
@@ -144,7 +144,8 @@ std::list<FluxboxWindow *>::const_reverse_iterator it = const_windowlist.rbegin(),
it_end = const_windowlist.rend(); for (; it != it_end; ++it) { if (*it == &win) continue; - + if ((*it)->layerNum() != win.layerNum() ){ continue; } //windows are in different layers - skip it + getWindowDimensions(*(*it), left, top, right, bottom); // go through the list of regions