Desktop grid effect now does not preserve space for windows from

other activities.
BUG:242555
This commit is contained in:
Jan Gerrit Marker 2011-04-24 17:44:54 +02:00
parent 2407b0fbc4
commit 122a97b9c8

View file

@ -1096,7 +1096,7 @@ void DesktopGridEffect::setup()
WindowMotionManager manager; WindowMotionManager manager;
foreach (EffectWindow * w, effects->stackingOrder()) { foreach (EffectWindow * w, effects->stackingOrder()) {
if (w->isOnDesktop(i) && w->screen() == j && !w->isDesktop() && !w->isDock() && if (w->isOnDesktop(i) && w->screen() == j && !w->isDesktop() && !w->isDock() &&
w->visibleInClientGroup() && !w->isSkipSwitcher()) { w->visibleInClientGroup() && !w->isSkipSwitcher() && w->isOnCurrentActivity()) {
manager.manage(w); manager.manage(w);
} }
} }