Query the wl_compositor from the applciation like KWayland does and construct the wl_region ourselves.