From 99b38096ca8d097728d9c197dfe576bb48400a30 Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Sat, 23 Oct 2021 19:35:56 +0300 Subject: [PATCH] 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. --- src/plugins/platforms/drm/drm_object_crtc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/platforms/drm/drm_object_crtc.cpp b/src/plugins/platforms/drm/drm_object_crtc.cpp index 5d1e88302f..c6f3c73f7f 100644 --- a/src/plugins/platforms/drm/drm_object_crtc.cpp +++ b/src/plugins/platforms/drm/drm_object_crtc.cpp @@ -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);