Floor coordinates to check if a point is inside a region
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.
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.