Commit b2d401cd authored by Xaver Hugl's avatar Xaver Hugl
Browse files

backends/drm: re-add KWIN_FORCE_SW_CURSOR

It was accidentally dropped
parent 791b0bb2
Pipeline #124443 passed with stage
in 13 minutes and 20 seconds
......@@ -92,6 +92,12 @@ static bool isCursorSpriteCompatible(const QImage *buffer, const QImage *sprite)
void DrmOutput::updateCursor()
{
static bool valid;
static const bool forceSoftwareCursor = qEnvironmentVariableIntValue("KWIN_FORCE_SW_CURSOR", &valid) == 1 && valid;
if (forceSoftwareCursor) {
m_setCursorSuccessful = false;
return;
}
if (!m_pipeline->pending.crtc) {
return;
}
......
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