Disable fallapart effect for not-visible windows
REVIEW: 106823
This commit is contained in:
parent
420e226b12
commit
a7fa887e49
1 changed files with 6 additions and 0 deletions
|
@ -148,6 +148,12 @@ void FallApartEffect::slotWindowClosed(EffectWindow* c)
|
|||
{
|
||||
if (!isRealWindow(c))
|
||||
return;
|
||||
if (c->isMinimized())
|
||||
return;
|
||||
if (!c->isOnCurrentDesktop())
|
||||
return;
|
||||
if (!c->isOnCurrentActivity())
|
||||
return;
|
||||
const void* e = c->data(WindowClosedGrabRole).value<void*>();
|
||||
if (e && e != this)
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue