Skip to content
Commit 8f18958c authored by Philipp Zabel's avatar Philipp Zabel Committed by Daniel Stone
Browse files

backend-vnc: use weston_region_global_to_output



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().

Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
parent 7c868576
Loading
Loading
Loading
Pipeline #913278 passed with stages
in 3 minutes and 25 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment