Commit 78794b42 authored by Xaver Hugl's avatar Xaver Hugl
Browse files

backends/drm: disable cursor layer when setCursor fails

Otherwise the next commit will still try to enable the cursor layer, and
possibly fail because of it
parent a902e78f
......@@ -145,6 +145,7 @@ void DrmOutput::updateCursor()
if (layer->isVisible()) {
m_setCursorSuccessful = m_pipeline->setCursor(logicalToNativeMatrix(QRect(QPoint(), cursorRect.size()), scale(), transform()).map(cursor->hotspot()));
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