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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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