[compositor] idle-time configuration inside weston.ini

Marc Chalain marc.chalain at gmail.com
Tue Jun 11 08:14:55 PDT 2013


idle-time: manpage update

---
 man/weston.ini.man |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/man/weston.ini.man b/man/weston.ini.man
index c3e5747..ae94d9b 100644
--- a/man/weston.ini.man
+++ b/man/weston.ini.man
@@ -103,8 +103,10 @@ directory are:
 .BR xwayland.so
 .fi
 .RE
-.RS
 .PP
+.TP 7
+.BI "idle-time=" value
+sets time before to fall in idle as --idle-time argument (integer).

 .SH "SHELL SECTION"
 The
-- 
1.7.9.5



2013/6/11 Pekka Paalanen <ppaalanen at gmail.com>

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20130611/33726c70/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-idle-time-manpage-update.patch
Type: application/octet-stream
Size: 628 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20130611/33726c70/attachment.obj>


More information about the wayland-devel mailing list