blob: 3d011d6ed4f7a0381f967af7e5ab6f0b790d2711 [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001From 08f1aa62f0a5faa0dc8aaf082264b77d37f0610d Mon Sep 17 00:00:00 2001
2From: Qian Hu <Qian.Hu@mediatek.com>
3Date: Wed, 25 Sep 2019 19:14:50 +0800
4Subject: [PATCH] add switch_config
5
6Signed-off-by: Qian Hu <Qian.Hu@mediatek.com>
7---
8 compositor/main.c | 7 +++++++
9 1 file changed, 7 insertions(+)
10
11diff --git a/compositor/main.c b/compositor/main.c
12index 21c501c..64e4e30 100644
13--- a/compositor/main.c
14+++ b/compositor/main.c
15@@ -2499,6 +2499,13 @@ int main(int argc, char *argv[])
16 goto out;
17 }
18
19+
20+ if (config_switch_global_create(wet.compositor) < 0) {
21+ weston_log("fatal: failed to config_switch_global_create\n");
22+ goto out;
23+ }
24+
25+
26 weston_compositor_flush_heads_changed(wet.compositor);
27 if (wet.init_failed)
28 goto out;
29--
302.6.4
31