dont ignore full maxed windows while they are shaded just because they are full maxed
Dana Jansens danakj@orodu.net
1 files changed,
6 insertions(+),
2 deletions(-)
jump to
M
src/Workspace.cc
→
src/Workspace.cc
@@ -615,8 +615,12 @@ Rect tmp;
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(),