This makes QCursor::pos and QCursor::setPos function correctly. KWin actually wouldn't need it as KWin has the KWin::Cursor replacement, but it allows Qt internal API to have it function correctly and also the zoom effect does use QCursor::setPos.