diff options
author | Giulio Camuffo <giuliocamuffo@gmail.com> | 2015-10-17 19:24:14 +0300 |
---|---|---|
committer | Bryce Harrington <bryce@osg.samsung.com> | 2015-10-23 15:23:37 -0700 |
commit | 93daabbc7141de3c085278ab8905813038308209 (patch) | |
tree | 3dc7e928a0cebe05514f10a6eeaf97aa98b90141 /src/compositor-headless.c | |
parent | e3c0d8af43272eb31f16b535ab821fd98399e8fa (diff) |
compositor: pass the backend config struct to the backends init function
Add new configuration argument to the backend_init() function, which
will replace the current argc, argv, and config arguments.
After each backend is converted individually the unused parameters
will be removed.
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
Diffstat (limited to 'src/compositor-headless.c')
-rw-r--r-- | src/compositor-headless.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compositor-headless.c b/src/compositor-headless.c index dba21a60..ba0d8d7c 100644 --- a/src/compositor-headless.c +++ b/src/compositor-headless.c @@ -260,7 +260,8 @@ err_free: WL_EXPORT int backend_init(struct weston_compositor *compositor, int *argc, char *argv[], - struct weston_config *config) + struct weston_config *config, + struct weston_backend_config *config_base) { int width = 1024, height = 640; char *display_name = NULL; |