Fix init_pointer_constraint so that it creates a valid, but inert, resource if a NULL weston_pointer value is passed in. In that case no constraint object is associated with the resource, but this is not an issue since affected code can already handle NULL constraint objects. Signed-off-by: Alexandros Frantzis <alexandros.frantzis@collabora.com> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>dev
parent
c6e2942fab
commit
0f14ae95b0
Loading…
Reference in new issue