xwayland: stop direct accessing core struct member
authorLeandro Ribeiro <leandrohr@riseup.net>
Thu, 26 Dec 2019 19:46:16 +0000 (16:46 -0300)
committerPekka Paalanen <pq@iki.fi>
Wed, 29 Jan 2020 09:55:24 +0000 (09:55 +0000)
commitbdd45d62627b5b03fd3e315fbce542b226cce682
tree1c207bad7e76073fc283b04284d6c1b37263fca1
parent23289358af00bb67dd97d67b04d3bc65808b2f1e
xwayland: stop direct accessing core struct member

Commit "weston-log: add function to avoid direct
access to compositor members in non-core code" added the
function weston_compositor_add_log_scope mainly to allow
libweston users to avoid direct accessing core structs, as
weston_compositor.

Replace weston_log_context_add_log_scope usage by
weston_compositor_add_log_scope.

Signed-off-by: Leandro Ribeiro <leandrohr@riseup.net>
xwayland/launcher.c