diff options
Diffstat (limited to 'src/MinOverlapPlacement.cc')
-rw-r--r-- | src/MinOverlapPlacement.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/MinOverlapPlacement.cc b/src/MinOverlapPlacement.cc index 78cadb4..b715f70 100644 --- a/src/MinOverlapPlacement.cc +++ b/src/MinOverlapPlacement.cc | |||
@@ -144,7 +144,8 @@ bool MinOverlapPlacement::placeWindow(const FluxboxWindow &win, int head, | |||
144 | it_end = const_windowlist.rend(); | 144 | it_end = const_windowlist.rend(); |
145 | for (; it != it_end; ++it) { | 145 | for (; it != it_end; ++it) { |
146 | if (*it == &win) continue; | 146 | if (*it == &win) continue; |
147 | 147 | if ((*it)->layerNum() != win.layerNum() ){ continue; } //windows are in different layers - skip it | |
148 | |||
148 | getWindowDimensions(*(*it), left, top, right, bottom); | 149 | getWindowDimensions(*(*it), left, top, right, bottom); |
149 | 150 | ||
150 | // go through the list of regions | 151 | // go through the list of regions |