[compositor] idle-time configuration inside weston.ini
Pekka Paalanen
ppaalanen at gmail.com
Tue Jun 11 06:18:15 PDT 2013
On Tue, 11 Jun 2013 14:43:46 +0200
Marc Chalain <marc.chalain at gmail.com> wrote:
> You have right, it's the smallest of my patches, and the worst.
>
> [PATCH] [compositor]: add "idle-time" entry support in "core"
> section of weston.ini
>
> ---
> src/compositor.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/src/compositor.c b/src/compositor.c
> index 099600d..2002812 100644
> --- a/src/compositor.c
> +++ b/src/compositor.c
> @@ -3277,6 +3277,8 @@ int main(int argc, char *argv[])
> section = weston_config_get_section(config, "core", NULL, NULL);
> weston_config_section_get_string(section, "modules",
> &modules, "desktop-shell.so");
> + weston_config_section_get_int(section, "idle-time",
> + &idle_time, idle_time);
>
> backend_init = load_module(backend, "backend_init");
> if (!backend_init)
I think that should work. What about the man pages?
Thanks,
pq
More information about the wayland-devel
mailing list