Skip to content

Floor coordinates to check if a point is inside a region

David Redondo requested to merge work/davidre/floor into master

More correct since QRegion models half open intervals (like QRect) and toPoint rounds the coordinates. Fixes an issue where one could escape a pointer confinement by just moving the mouse.

Merge request reports

Loading