1 From 0a0103f20437d9ed63b6cec500027a6d7bf6185f Mon Sep 17 00:00:00 2001
2 From: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
3 Date: Mon, 20 May 2019 18:31:32 +0900
4 Subject: [PATCH] main: change remoting initialization timing
6 Signed-off-by: Tomohito Esaki <etom@igel.co.jp>
7 Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
9 compositor/main.c | 7 ++++---
10 1 file changed, 4 insertions(+), 3 deletions(-)
12 diff --git a/compositor/main.c b/compositor/main.c
13 index 248298e..de7190b 100644
14 --- a/compositor/main.c
15 +++ b/compositor/main.c
16 @@ -2018,9 +2018,6 @@ load_drm_backend(struct weston_compositor *c,
17 ret = weston_compositor_load_backend(c, WESTON_BACKEND_DRM,
21 - load_remoting(c, wc);
23 free(config.gbm_format);
26 @@ -2664,6 +2661,10 @@ int main(int argc, char *argv[])
30 + /* remoting: only support on drm-backend */
31 + if (strstr(backend, "drm-backend.so"))
32 + load_remoting(wet.compositor, config);
35 weston_config_section_get_int(section, "idle-time", &idle_time, -1);