wayland/actor-surface: Intersect input/opaque region with surface region
Update for the record: this needs !206 (merged) as it broke some cases with HIDPI
As per specification
The compositor ignores the parts of the opaque region that fall outside of the surface
This fixes culling problems under certain conditions. One example is the gstreamer wayland demo: https://github.com/swt2c/gst-wayland-gtk-demo (standalone) / https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/tests/examples/waylandsink (official)
Requires !141 (merged) and is required for !149 (closed) and #132 (closed) / !121 (closed)
Edited by Robert Mader