x11: register the cursor as well

BUG: 419595
CCMAIL: kwin@kde.org

Committing as is because it crashes on load
master
Aleix Pol 2020-04-03 20:01:09 +02:00
parent 9f183642ca
commit 77782efc1f
1 changed files with 1 additions and 0 deletions

View File

@ -41,6 +41,7 @@ X11Cursor::X11Cursor(QObject *parent, bool xInputSupport)
, m_hasXInput(xInputSupport)
, m_needsPoll(false)
{
Cursors::self()->setMouse(this);
m_resetTimeStampTimer->setSingleShot(true);
connect(m_resetTimeStampTimer, SIGNAL(timeout()), SLOT(resetTimeStamp()));
// TODO: How often do we really need to poll?