Glide effect: skip invisible windows

BUGS: 359831
REVIEW: 127378
This commit is contained in:
Thomas Lübking 2017-02-25 23:47:28 +01:00 committed by Albert Astals Cid
parent 9040025acd
commit 5c700eefd5

View file

@ -206,6 +206,8 @@ bool GlideEffect::isGlideWindow(EffectWindow* w)
{
if (effects->activeFullScreenEffect())
return false;
if (!w->isVisible())
return false;
if (w->data(IsGlideWindow).toBool())
return true;
if (w->hasDecoration())