Commit 4e81abfc authored by Xaver Hugl's avatar Xaver Hugl
Browse files

platforms/drm: only show cursor on dpms on if not hidden

While always calling showCursor isn't a problem for when there's no
pointing device as the cursor image is empty in that case, it can
cause a temporarily stuck cursor image when it's supposed to be
hidden because of touch input


(cherry picked from commit a1847f77)
parent 0f7ca9c6
......@@ -429,7 +429,9 @@ void DrmOutput::dpmsFinishOn()
if (Compositor *compositor = Compositor::self()) {
compositor->addRepaintFull();
}
showCursor();
if (!m_backend->isCursorHidden()) {
showCursor();
}
}
void DrmOutput::dpmsFinishOff()
......
Markdown is supported
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