wayland: Fix invisible tablet cursor

A cursor source is created but it's not attached to the cursor.

BUG: 464529
This commit is contained in:
Vlad Zahorodnii 2023-01-20 14:47:54 +02:00
parent fef1553b90
commit 0d44092db2

View file

@ -1936,6 +1936,7 @@ public:
: Cursor(tool)
, m_source(std::make_unique<ImageCursorSource>())
{
setSource(m_source.get());
connect(tool, &KWaylandServer::TabletToolV2Interface::cursorChanged, this, [this](KWaylandServer::TabletCursorV2 *tcursor) {
if (!tcursor || tcursor->enteredSerial() == 0) {
static WaylandCursorImage defaultCursor;