From 0d44092db28dbb1fc2d38d7a9a3e6571e247bd4e Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Fri, 20 Jan 2023 14:47:54 +0200 Subject: [PATCH] wayland: Fix invisible tablet cursor A cursor source is created but it's not attached to the cursor. BUG: 464529 --- src/input.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/input.cpp b/src/input.cpp index b4c5b411d5..d80089a92f 100644 --- a/src/input.cpp +++ b/src/input.cpp @@ -1936,6 +1936,7 @@ public: : Cursor(tool) , m_source(std::make_unique()) { + setSource(m_source.get()); connect(tool, &KWaylandServer::TabletToolV2Interface::cursorChanged, this, [this](KWaylandServer::TabletCursorV2 *tcursor) { if (!tcursor || tcursor->enteredSerial() == 0) { static WaylandCursorImage defaultCursor;