From 91967f8ec05b69240382640d01e303ecf47a9404 Mon Sep 17 00:00:00 2001 From: Kamikadze <40305144+Kam1k4dze@users.noreply.github.com> Date: Sun, 8 Jun 2025 12:18:42 +0500 Subject: [PATCH] renderer: fix incorrect cursor position when screencopy region with monitor scaling (#10675) --- src/protocols/Screencopy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/protocols/Screencopy.cpp b/src/protocols/Screencopy.cpp index 3ad57ed7..41bac3c8 100644 --- a/src/protocols/Screencopy.cpp +++ b/src/protocols/Screencopy.cpp @@ -256,7 +256,7 @@ void CScreencopyFrame::renderMon() { if (m_overlayCursor) g_pPointerManager->renderSoftwareCursorsFor(m_monitor.lock(), Time::steadyNow(), fakeDamage, - g_pInputManager->getMouseCoordsInternal() - m_monitor->m_position - m_box.pos(), true); + g_pInputManager->getMouseCoordsInternal() - m_monitor->m_position - m_box.pos() / m_monitor->m_scale, true); } void CScreencopyFrame::storeTempFB() {