weston: store weston_compositor in wet_compositor
authorPekka Paalanen <pekka.paalanen@collabora.co.uk>
Thu, 2 Nov 2017 13:38:24 +0000 (15:38 +0200)
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>
Wed, 2 May 2018 09:08:34 +0000 (12:08 +0300)
commit3ffc6876cadec282a5df4e7c7b2ba9faf4e70dd5
tree486c1de2e40eb17584d4de0535a814f3f0fd230c
parentdfc0683ba017e7d25a22aa5fc5b8703a58ea829b
weston: store weston_compositor in wet_compositor

This makes it easier to just pass wet_compositor around and take the
weston_compositor from it.

It feels weird to go from weston_compositor to wet_compositor all the
time in internal functions. It's necessary in callbacks that cannot
carry wet_compositor, but otherwise it is awkward.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Acked-by: Derek Foreman <derekf@osg.samsung.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
compositor/main.c