Glide effect: skip invisible windows
BUGS: 359831 REVIEW: 127378
This commit is contained in:
parent
9040025acd
commit
5c700eefd5
1 changed files with 2 additions and 0 deletions
|
@ -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())
|
||||||
|
|
Loading…
Reference in a new issue