[prev in list] [next in list] [prev in thread] [next in thread]
List: kwin
Subject: [kwin] plugins/platforms/x11/standalone: x11: register the cursor as well
From: Aleix Pol <null () kde ! org>
Date: 2020-04-03 18:02:24
Message-ID: E1jKQe8-0002JL-7d () code ! kde ! org
[Download RAW message or body]
Git commit 77782efc1fa4d59232bee08143c74a29f27d0c6f by Aleix Pol.
Committed on 03/04/2020 at 18:01.
Pushed by apol into branch 'master'.
x11: register the cursor as well
BUG: 419595
CCMAIL: kwin@kde.org
Committing as is because it crashes on load
M +1 -0 plugins/platforms/x11/standalone/x11cursor.cpp
https://commits.kde.org/kwin/77782efc1fa4d59232bee08143c74a29f27d0c6f
diff --git a/plugins/platforms/x11/standalone/x11cursor.cpp b/plugins/platf=
orms/x11/standalone/x11cursor.cpp
index 711d2a00d..402bc3930 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?
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic