Skip to content
Commit c45d26a3 authored by David Edmundson's avatar David Edmundson
Browse files

Fix clamping in screenContainsPos

QRect.contains(somePointF.toPoint()) will round the values.

This is problematic for the case of a mouse being at -0.4, we will
consider it in bounds for the screen, but obviously this doesn't match
any surfaces.

The detection and confineToBoundingBox need to behave the same and
floor.

BUG: 459328


(cherry picked from commit e924b1cb)
parent f8fb0205
Pipeline #237033 passed with stage
in 12 minutes and 21 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment