dont ignore full maxed windows while they are shaded just because they are full maxed
This commit is contained in:
parent
5cb2020b9b
commit
809f819e6f
1 changed files with 6 additions and 2 deletions
|
@ -615,8 +615,12 @@ bool Workspace::smartPlacement(Rect& win) {
|
||||||
for (; wit != end; ++wit) {
|
for (; wit != end; ++wit) {
|
||||||
const BlackboxWindow* const curr = *wit;
|
const BlackboxWindow* const curr = *wit;
|
||||||
|
|
||||||
if (curr->isShaded() && screen->getPlaceIgnoreShaded()) continue;
|
// watch for shaded windows and full-maxed windows
|
||||||
if (curr->isMaximizedFull() && screen->getPlaceIgnoreMaximized()) continue;
|
if (curr->isShaded()) {
|
||||||
|
if (screen->getPlaceIgnoreShaded()) continue;
|
||||||
|
} else if (curr->isMaximizedFull()) {
|
||||||
|
if (screen->getPlaceIgnoreMaximized()) continue;
|
||||||
|
}
|
||||||
|
|
||||||
tmp.setRect(curr->frameRect().x(), curr->frameRect().y(),
|
tmp.setRect(curr->frameRect().x(), curr->frameRect().y(),
|
||||||
curr->frameRect().width() + screen->getBorderWidth(),
|
curr->frameRect().width() + screen->getBorderWidth(),
|
||||||
|
|
Loading…
Reference in a new issue