From 77782efc1fa4d59232bee08143c74a29f27d0c6f Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Fri, 3 Apr 2020 20:01:09 +0200 Subject: [PATCH] x11: register the cursor as well BUG: 419595 CCMAIL: kwin@kde.org Committing as is because it crashes on load --- plugins/platforms/x11/standalone/x11cursor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/platforms/x11/standalone/x11cursor.cpp b/plugins/platforms/x11/standalone/x11cursor.cpp index 711d2a00d0..402bc39306 100644 --- a/plugins/platforms/x11/standalone/x11cursor.cpp +++ b/plugins/platforms/x11/standalone/x11cursor.cpp @@ -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?