effects: Use unique device for replaying events to QQuickView

When a new mouse event is made it updates the global position of that device. This causes issues if a mouse event is forwarded with an adjusted position then used afterwards.

QPointingDevice::primaryPointingDevice creates a new pointer device internally if the seat name does not exist. It is then shared between future usages.

BUG: 480864

(cherry picked from commit 862dae45)

Merge request reports

Loading