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:
parent
fef1553b90
commit
0d44092db2
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue