rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 1 | From 08f1aa62f0a5faa0dc8aaf082264b77d37f0610d Mon Sep 17 00:00:00 2001 |
| 2 | From: Qian Hu <Qian.Hu@mediatek.com> |
| 3 | Date: Wed, 25 Sep 2019 19:14:50 +0800 |
| 4 | Subject: [PATCH] add switch_config |
| 5 | |
| 6 | Signed-off-by: Qian Hu <Qian.Hu@mediatek.com> |
| 7 | --- |
| 8 | compositor/main.c | 7 +++++++ |
| 9 | 1 file changed, 7 insertions(+) |
| 10 | |
| 11 | diff --git a/compositor/main.c b/compositor/main.c |
| 12 | index 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 | -- |
| 30 | 2.6.4 |
| 31 | |