From edb1a41148d349d7730b55fb388194c443d22bf0 Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Mon, 24 Jan 2022 16:27:25 +0200 Subject: [PATCH] plugins/screencast: Provide hidpi cursor bitmaps --- src/plugins/screencast/screencaststream.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/screencast/screencaststream.cpp b/src/plugins/screencast/screencaststream.cpp index 18a56ae26a..39d8ef827d 100644 --- a/src/plugins/screencast/screencaststream.cpp +++ b/src/plugins/screencast/screencaststream.cpp @@ -635,6 +635,7 @@ void ScreenCastStream::sendCursorData(Cursor *cursor, spa_meta_cursor *spa_meta_ return; } + dest.setDevicePixelRatio(m_cursor.scale); dest.fill(Qt::transparent); QPainter painter(&dest); painter.drawImage(QPoint(), image);