Update MinOverlapPlacement.cc
Skip any windows which are not in the same layer as the window to be placed.
This commit is contained in:
parent
5905c4623e
commit
a1f647d09c
1 changed files with 2 additions and 1 deletions
|
@ -144,6 +144,7 @@ bool MinOverlapPlacement::placeWindow(const FluxboxWindow &win, int head,
|
|||
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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue