all repos — fluxbox @ 5905c4623ec93d7e8ec67f485715fa468c416f1c

custom fork of the fluxbox windowmanager

Update ColSmartPlacement.cc

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

5905c4623ec93d7e8ec67f485715fa468c416f1c

parent

17f8a936cef98842f0bc916043e8ae36209bdfa1

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

jump to
M src/ColSmartPlacement.ccsrc/ColSmartPlacement.cc

@@ -99,6 +99,8 @@ std::list<FluxboxWindow *>::const_iterator it = windowlist.begin();

std::list<FluxboxWindow *>::const_iterator it_end = windowlist.end(); for (; it != it_end && placed; ++it) { if (*it == &win) continue; + if ((*it)->layerNum() != win.layerNum() ){ continue; } //windows are in different layers - skip it + int bw = 2 * (*it)->fbWindow().borderWidth(); int curr_x = (*it)->x() - (*it)->xOffset(); int curr_y = (*it)->y() - (*it)->yOffset();