diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-05-30 04:35:22 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-05-30 04:35:22 +0000 |
| commit | 23640740ca6659ee4effb9e5c040900e0bbdeb59 (patch) | |
| tree | c738aeaec1d4948abf982e367a48f270ab3528fa /src/Workspace.cc | |
| parent | 478771552533b63ff6c0dda136bca5e6b1701c91 (diff) | |
sync with bb cvs
Diffstat (limited to 'src/Workspace.cc')
| -rw-r--r-- | src/Workspace.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Workspace.cc b/src/Workspace.cc index 91bc1419..c21f3293 100644 --- a/src/Workspace.cc +++ b/src/Workspace.cc @@ -488,11 +488,14 @@ bool Workspace::smartPlacement(Rect& win, const Rect& availableArea) { spaces.push_back(availableArea); //initially the entire screen is free //Find Free Spaces - BlackboxWindowList::iterator wit = windowList.begin(), - end = windowList.end(); + BlackboxWindowList::const_iterator wit = windowList.begin(), + end = windowList.end(); Rect tmp; for (; wit != end; ++wit) { const BlackboxWindow* const curr = *wit; + + if (curr->isShaded()) continue; + tmp.setRect(curr->frameRect().x(), curr->frameRect().y(), curr->frameRect().width() + screen->getBorderWidth(), curr->frameRect().height() + screen->getBorderWidth()); |
