wayland: Fix invisible tablet cursor

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

BUG: 464529
remotes/origin/work/fuf/442321
Vlad Zahorodnii 3 years ago
parent fef1553b90
commit 0d44092db2
  1. 1
      src/input.cpp

@ -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;

Loading…
Cancel
Save