plugins/zoom: Center cursor on active screen on shortcut
BUG:435108
This commit is contained in:
parent
69b8c91655
commit
2e92fca017
1 changed files with 1 additions and 1 deletions
|
@ -558,7 +558,7 @@ void ZoomEffect::moveMouseToFocus()
|
|||
|
||||
void ZoomEffect::moveMouseToCenter()
|
||||
{
|
||||
const QRect r = effects->virtualScreenGeometry();
|
||||
const QRect r = effects->activeScreen()->geometry();
|
||||
QCursor::setPos(r.x() + r.width() / 2, r.y() + r.height() / 2);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue