Commit 31e66478 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

Revert "[effects/fallapart] Override scale, fade, and glide effect"

This reverts commit 1747e497.

Unfortunately, this patch causes fall apart effect to override sliding
popups effect, which we really don't want to do.
parent 8ab72776
......@@ -163,6 +163,9 @@ void FallApartEffect::slotWindowClosed(EffectWindow* c)
return;
if (!c->isVisible())
return;
const void* e = c->data(WindowClosedGrabRole).value<void*>();
if (e && e != this)
return;
c->setData(WindowClosedGrabRole, QVariant::fromValue(static_cast<void*>(this)));
windows[ c ] = 0;
c->refWindow();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment