From d18e631d47da4d6b848429f03890abb4a8a7b867 Mon Sep 17 00:00:00 2001 From: Xaver Hugl Date: Wed, 5 Jan 2022 16:36:52 +0100 Subject: [PATCH] backends/drm: hide cursor again Before 6a99bfd2, the DrmBackend took care of checking this. Now it needs to be explicitly checked in DrmOutput --- src/backends/drm/drm_output.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backends/drm/drm_output.cpp b/src/backends/drm/drm_output.cpp index e89b9a7f1c..03b173d7f9 100644 --- a/src/backends/drm/drm_output.cpp +++ b/src/backends/drm/drm_output.cpp @@ -101,7 +101,7 @@ void DrmOutput::updateCursor() return; } const QImage cursorImage = cursor->image(); - if (cursorImage.isNull()) { + if (cursorImage.isNull() || Cursors::self()->isCursorHidden()) { m_pipeline->setCursor(nullptr); return; }