input: create shape cursor source before using it
BUG: 472358
This commit is contained in:
parent
87444f6ce3
commit
90425f46db
1 changed files with 3 additions and 0 deletions
|
@ -1978,6 +1978,9 @@ public:
|
|||
}
|
||||
|
||||
static WaylandCursorImage defaultCursor;
|
||||
if (!m_shapeSource) {
|
||||
m_shapeSource = std::make_unique<ShapeCursorSource>();
|
||||
}
|
||||
m_shapeSource->setTheme(defaultCursor.theme());
|
||||
m_shapeSource->setShape(shape);
|
||||
setSource(m_shapeSource.get());
|
||||
|
|
Loading…
Reference in a new issue