Merge branch 'Plasma/5.11'
This commit is contained in:
commit
9b69dab638
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ void DrmOutput::showCursor(DrmDumbBuffer *c)
|
|||
|
||||
void DrmOutput::moveCursor(const QPoint &globalPos)
|
||||
{
|
||||
const QPoint p = (globalPos * m_scale) - m_backend->softwareCursorHotspot();
|
||||
const QPoint p = ((globalPos - m_globalPos) * m_scale) - m_backend->softwareCursorHotspot();
|
||||
drmModeMoveCursor(m_backend->fd(), m_crtc->id(), p.x(), p.y());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue