diff --git a/cursor.cpp b/cursor.cpp index de5c5a2606..a53f66c095 100644 --- a/cursor.cpp +++ b/cursor.cpp @@ -258,6 +258,7 @@ void Cursor::notifyCursorChanged(uint32_t serial) emit cursorChanged(serial); } +#ifndef KCMRULES class XInputEventFilter : public X11EventFilter { public: @@ -276,6 +277,7 @@ public: private: X11Cursor *m_x11Cursor; }; +#endif X11Cursor::X11Cursor(QObject *parent) : Cursor(parent) diff --git a/cursor.h b/cursor.h index e0a3091e02..5e346cad83 100644 --- a/cursor.h +++ b/cursor.h @@ -259,7 +259,9 @@ private: bool m_hasXInput; int m_xiOpcode; bool m_needsPoll; +#ifndef KCMRULES QScopedPointer m_xiEventFilter; +#endif friend class Cursor; };