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