dont ignore full maxed windows while they are shaded just because they are full maxed

This commit is contained in:
Dana Jansens 2002-07-23 20:54:40 +00:00
parent 5cb2020b9b
commit 809f819e6f

View file

@ -615,8 +615,12 @@ bool Workspace::smartPlacement(Rect& win) {
for (; wit != end; ++wit) {
const BlackboxWindow* const curr = *wit;
if (curr->isShaded() && screen->getPlaceIgnoreShaded()) continue;
if (curr->isMaximizedFull() && screen->getPlaceIgnoreMaximized()) continue;
// watch for shaded windows and full-maxed windows
if (curr->isShaded()) {
if (screen->getPlaceIgnoreShaded()) continue;
} else if (curr->isMaximizedFull()) {
if (screen->getPlaceIgnoreMaximized()) continue;
}
tmp.setRect(curr->frameRect().x(), curr->frameRect().y(),
curr->frameRect().width() + screen->getBorderWidth(),