renderer: fix incorrect cursor position when screencopy region with monitor scaling (#10675)

This commit is contained in:
Kamikadze
2025-06-08 12:18:42 +05:00
committed by GitHub
parent 0a47575c7f
commit 91967f8ec0

View File

@@ -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() {