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

[wayland] Fix SurfaceInterface::surfaceItemAt

QRectF::contains includes all edges. If two subsurfaces are next to each
other ::contains will treat it as having a singularity where a value is
on 2 subsurfaces rather than either one of the other, which isn't what
we want for our purposes.

The unit test is extended but also featured some wrong values, the
biggest clue that it was wrong was that we used different test
co-ordiantes for surfaceContains and inputContains.
parent c8b4937f
Pipeline #187956 passed with stage
in 12 minutes and 56 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