kwin: remove unused KWin::ZoomEffect members

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2023-08-15 02:19:56 +03:00
parent 6f3a150272
commit b60b5e38d5
2 changed files with 5 additions and 9 deletions

View file

@ -423,7 +423,6 @@ void ZoomEffect::slotMouseChanged(const QPoint& pos, const QPoint& old, Qt::Mous
return;
cursorPoint = pos;
if (pos != old) {
lastMouseEvent = QTime::currentTime();
effects->addRepaintFull();
}
}

View file

@ -26,7 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <kwineffects.h>
#include <QScopedPointer>
#include <QDateTime>
#include <QTimeLine>
namespace KWin
@ -99,8 +98,6 @@ private:
QPoint cursorPoint;
QPoint cursorHotSpot;
QPoint prevPoint;
QTime lastMouseEvent;
QTime lastFocusEvent;
#ifdef KWIN_BUILD_COMPOSITE
QScopedPointer<XRenderPicture> xrenderPicture;
#endif