Commit 7b19fa87 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii

[libkwineffects] Delete unused field in AniData

Summary: windowType is not used anywhere so delete it.

Test Plan: Compiles.

Reviewers: #kwin, davidedmundson

Reviewed By: #kwin, davidedmundson

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D16389
parent eb78b1ca
...@@ -59,7 +59,6 @@ AniData::AniData() ...@@ -59,7 +59,6 @@ AniData::AniData()
, duration(0) , duration(0)
, meta(0) , meta(0)
, startTime(0) , startTime(0)
, windowType((NET::WindowTypeMask)0)
, waitAtSource(false) , waitAtSource(false)
, keepAtTarget(false) , keepAtTarget(false)
, keepAlive(true) , keepAlive(true)
...@@ -77,7 +76,6 @@ AniData::AniData(AnimationEffect::Attribute a, int meta_, int ms, const FPx2 &to ...@@ -77,7 +76,6 @@ AniData::AniData(AnimationEffect::Attribute a, int meta_, int ms, const FPx2 &to
, duration(ms) , duration(ms)
, meta(meta_) , meta(meta_)
, startTime(AnimationEffect::clock() + delay) , startTime(AnimationEffect::clock() + delay)
, windowType((NET::WindowTypeMask)0)
, fullScreenEffectLock(fullScreenEffectLock_) , fullScreenEffectLock(fullScreenEffectLock_)
, waitAtSource(waitAtSource_) , waitAtSource(waitAtSource_)
, keepAtTarget(keepAtTarget_) , keepAtTarget(keepAtTarget_)
...@@ -108,6 +106,5 @@ QString AniData::debugInfo() const ...@@ -108,6 +106,5 @@ QString AniData::debugInfo() const
QLatin1String("\n To: ") + to.toString() + QLatin1String("\n To: ") + to.toString() +
QLatin1String("\n Started: ") + QString::number(AnimationEffect::clock() - startTime) + QLatin1String("ms ago\n") + QLatin1String("\n Started: ") + QString::number(AnimationEffect::clock() - startTime) + QLatin1String("ms ago\n") +
QLatin1String( " Duration: ") + QString::number(duration) + QLatin1String("ms\n") + QLatin1String( " Duration: ") + QString::number(duration) + QLatin1String("ms\n") +
QLatin1String( " Passed: ") + QString::number(time) + QLatin1String("ms\n") + QLatin1String( " Passed: ") + QString::number(time) + QLatin1String("ms\n");
QLatin1String( " Applying: ") + QString::number(windowType) + QLatin1Char('\n');
} }
...@@ -23,8 +23,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. ...@@ -23,8 +23,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define ANIDATA_H #define ANIDATA_H
#include "kwinanimationeffect.h" #include "kwinanimationeffect.h"
#include <QEasingCurve> #include <QEasingCurve>
#include <netwm.h>
namespace KWin { namespace KWin {
...@@ -77,7 +77,6 @@ public: ...@@ -77,7 +77,6 @@ public:
int time, duration; int time, duration;
uint meta; uint meta;
qint64 startTime; qint64 startTime;
NET::WindowTypeMask windowType;
QSharedPointer<FullScreenEffectLock> fullScreenEffectLock; QSharedPointer<FullScreenEffectLock> fullScreenEffectLock;
bool waitAtSource, keepAtTarget; bool waitAtSource, keepAtTarget;
bool keepAlive; bool keepAlive;
......
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