Glide effect: skip invisible windows

BUGS: 359831
REVIEW: 127378
icc-effect-5.14.5
Thomas Lübking 2017-02-25 23:47:28 +01:00 committed by Albert Astals Cid
parent 9040025acd
commit 5c700eefd5
1 changed files with 2 additions and 0 deletions

View File

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