weston_8.0.%.bbappend: Remove unused patch
[AGL/meta-agl.git] / meta-agl-profile-graphical / recipes-graphics / wayland / weston / 0004-main-change-remoting-initialization-timing.patch
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
5
6 Upstream-Status: Pending[1]
7
8 [1]: https://gitlab.freedesktop.org/wayland/weston/issues/246
9
10 Signed-off-by: Tomohito Esaki <etom@igel.co.jp>
11 Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
12 [Updated for Weston 8.0.0]
13 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
14
15 ---
16 diff --git a/compositor/main.c b/compositor/main.c
17 index 8eb8a47..22686b0 100644
18 --- a/compositor/main.c
19 +++ b/compositor/main.c
20 @@ -2518,9 +2518,6 @@ load_drm_backend(struct weston_compositor *c,
21         ret = weston_compositor_load_backend(c, WESTON_BACKEND_DRM,
22                                              &config.base);
23  
24 -       /* remoting */
25 -       load_remoting(c, wc);
26 -
27         /* pipewire */
28         load_pipewire(c, wc);
29  
30 @@ -3278,6 +3275,10 @@ wet_main(int argc, char *argv[])
31         if (wet.init_failed)
32                 goto out;
33  
34 +       /* remoting: only support on drm-backend */
35 +       if (strstr(backend, "drm-backend.so"))
36 +               load_remoting(wet.compositor, config);
37 +
38         if (idle_time < 0)
39                 weston_config_section_get_int(section, "idle-time", &idle_time, -1);
40         if (idle_time < 0)