platforms/drm: Fix a typo in DrmCrtc::setLegacyCursor()

bufferDirty should be reset so the legacy cursor is set after switching
between VTs or turning outputs back on.
This commit is contained in:
Vlad Zahorodnii 2021-10-23 19:35:56 +03:00
parent 0c6bf857be
commit 99b38096ca

View file

@ -118,7 +118,7 @@ bool DrmCrtc::moveLegacyCursor(const QPoint &pos)
void DrmCrtc::setLegacyCursor()
{
m_cursor.posDirty = true;
m_cursor.bufferDirty = true;
m_cursor.posDirty = true;
setLegacyCursor(m_cursor.buffer, m_cursor.hotspot);
moveLegacyCursor(m_cursor.pos);