summaryrefslogtreecommitdiff
path: root/src/protocols/Screencopy.cpp
diff options
context:
space:
mode:
authorKamikadze <40305144+Kam1k4dze@users.noreply.github.com>2025-06-08 12:18:42 +0500
committerGitHub <noreply@github.com>2025-06-08 08:18:42 +0100
commit91967f8ec05b69240382640d01e303ecf47a9404 (patch)
treeffbeec9fb3516ffc7ae1df139d002de3150342c3 /src/protocols/Screencopy.cpp
parent0a47575c7f4d649e5a7bbbafb8acac9b10860c9e (diff)
renderer: fix incorrect cursor position when screencopy region with monitor scaling (#10675)
Diffstat (limited to 'src/protocols/Screencopy.cpp')
-rw-r--r--src/protocols/Screencopy.cpp2
1 files changed, 1 insertions, 1 deletions
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() {