Skip to content

pointer input: always confine pointer to screens

Vlad Zahorodnii requested to merge work/cherry-pick-520fa304 into Plasma/5.27

Checking if the pointer needs to be confined before doing std::clamp on the position is useless and causes problems. With this change, the pointer will always be confined to exactly the screen, without any fractional offsets.

BUG: 461911

(cherry picked from commit 520fa304)

Merge request reports