Change-Id: Ib4e1895dcf3e0168eb759fbecee499d75dd45bfe
Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
m_cursorImage = new QPlatformCursorImage(0, 0, 0, 0, 0, 0);
}
+QKmsCursor::~QKmsCursor()
+{
+ drmModeSetCursor(m_screen->device()->fd(), m_screen->crtcId(),
+ 0, 0, 0);
+}
+
void QKmsCursor::pointerEvent(const QMouseEvent &event)
{
int status = drmModeMoveCursor(m_screen->device()->fd(),
{
public:
QKmsCursor(QKmsScreen *screen);
+ ~QKmsCursor();
void pointerEvent(const QMouseEvent &event);
void changeCursor(QCursor *widgetCursor, QWindow *window);