Skip to content

backend-vnc: use weston_region_global_to_output

Philipp Zabel requested to merge pH5/weston:backend-vnc-global-to-local into main

Instead of directly converting damage from pixman_region32_t in global coordinates to pixman_region16_t in local coordinates, use weston_region_global_to_output() to convert to pixman_region32_t in local coordinates and then convert again to pixman_region16_t in the same coordinate system, using vnc_region32_to_region16().

Suggested here: !1266 (comment 1958721)

Merge request reports

Loading