[kwin] KWinrules needs the X11Cursor

Fixes crash when trying to detect the window properties.
This commit is contained in:
Martin Gräßlin 2014-03-29 10:49:14 +01:00
parent 137906a547
commit c64ad6b640

View file

@ -50,7 +50,7 @@ Cursor *Cursor::create(QObject *parent)
s_self = new InputRedirectionCursor(parent); s_self = new InputRedirectionCursor(parent);
} }
#else #else
Q_UNUSED(parent) s_self = new X11Cursor(parent);
#endif #endif
return s_self; return s_self;
} }