Commit 7e831df4 authored by Roman Gilg's avatar Roman Gilg
Browse files

Add environment variable to force sw cursor

For debugging purposes add an environment variable to
force use of software cursor.

Test Plan: Manual test with and without setting the variable.

Reviewers: #kwin, garg, davidedmundson

Reviewed By: davidedmundson

Subscribers: kwin

Tags: #kwin

Differential Revision:
parent 48d30fa4
......@@ -41,6 +41,7 @@ Platform::Platform(QObject *parent)
: QObject(parent)
, m_eglDisplay(EGL_NO_DISPLAY)
m_colorCorrect = new ColorCorrect::Manager(this);
......@@ -129,6 +130,9 @@ void Platform::configurationChangeRequested(KWayland::Server::OutputConfiguratio
void Platform::setSoftWareCursor(bool set)
if (qEnvironmentVariableIsSet("KWIN_FORCE_SW_CURSOR")) {
set = true;
if (m_softWareCursor == set) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment