Use right windowDamaged() signal in ThumbnailItem

This commit is contained in:
Vlad Zahorodnii 2020-09-23 16:37:18 +03:00
parent 989699a273
commit 960a40ef44

View file

@ -42,7 +42,7 @@ void AbstractThumbnailItem::compositingToggled()
m_parent.clear(); m_parent.clear();
if (effects) { if (effects) {
connect(effects, SIGNAL(windowAdded(KWin::EffectWindow*)), SLOT(effectWindowAdded())); connect(effects, SIGNAL(windowAdded(KWin::EffectWindow*)), SLOT(effectWindowAdded()));
connect(effects, SIGNAL(windowDamaged(KWin::EffectWindow*,QRect)), SLOT(repaint(KWin::EffectWindow*))); connect(effects, SIGNAL(windowDamaged(KWin::EffectWindow*,QRegion)), SLOT(repaint(KWin::EffectWindow*)));
effectWindowAdded(); effectWindowAdded();
} }
} }