all repos — fluxbox @ a1f647d09cb376ec79ee065161fef5cdf68771e2

custom fork of the fluxbox windowmanager

Update MinOverlapPlacement.cc

Skip any windows which are not in the same layer as the window to be placed.
Ken Moore moorekou@gmail.com
commit

a1f647d09cb376ec79ee065161fef5cdf68771e2

parent

5905c4623ec93d7e8ec67f485715fa468c416f1c

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M src/MinOverlapPlacement.ccsrc/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