Skip to content

effects: Use unique device for replaying events to QQuickView

Vlad Zahorodnii requested to merge work/cherry-pick-862dae45 into Plasma/6.1

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