Set a default cursor when creating the WaylandCursor

This commit is contained in:
Martin Gräßlin 2014-10-17 09:53:42 +02:00
parent f545eeb087
commit 2a6cd5010a

View file

@ -383,6 +383,9 @@ WaylandCursor::WaylandCursor(Surface *parentSurface, WaylandBackend *backend)
parent->commit(Surface::CommitFlag::None);
}
);
// install a default cursor image:
setCursorImage(Qt::ArrowCursor);
}
void WaylandCursor::setHotSpot(const QPoint &pos)