implement isActive in resize effect

(cherry picked from commit 60281f9cc3c515db1c36139842374353bca3cb3a)
This commit is contained in:
Thomas Lübking 2011-12-29 23:32:55 +01:00
parent 5b40492a84
commit 8aa05a477b

View file

@ -36,6 +36,7 @@ public:
virtual inline bool provides(Effect::Feature ef) {
return ef == Effect::Resize;
}
inline bool isActive() const { return m_active; }
virtual void prePaintScreen(ScreenPrePaintData& data, int time);
virtual void prePaintWindow(EffectWindow* w, WindowPrePaintData& data, int time);
virtual void paintWindow(EffectWindow* w, int mask, QRegion region, WindowPaintData& data);