[drm] correctly initialize the second cursor
Summary: There were a trivial copy'n paste error. Reviewers: graesslin Reviewed By: graesslin Subscribers: graesslin, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D1806
This commit is contained in:
parent
04c3998571
commit
935f8875fe
1 changed files with 1 additions and 1 deletions
|
@ -498,7 +498,7 @@ void DrmBackend::initCursor()
|
|||
m_cursor[0]->image()->fill(Qt::transparent);
|
||||
m_cursor[1] = createBuffer(cursorSize);
|
||||
m_cursor[1]->map(QImage::Format_ARGB32_Premultiplied);
|
||||
m_cursor[0]->image()->fill(Qt::transparent);
|
||||
m_cursor[1]->image()->fill(Qt::transparent);
|
||||
// now we have screens and can set cursors, so start tracking
|
||||
connect(this, &DrmBackend::cursorChanged, this, &DrmBackend::updateCursor);
|
||||
connect(Cursor::self(), &Cursor::posChanged, this, &DrmBackend::moveCursor);
|
||||
|
|
Loading…
Reference in a new issue