Systemd notifications support was converted into loadable
module, so systemd-notify.h header is not needed.
Signed-off-by: Egor Starkov
---
Makefile.am | 4 +---
src/main.c | 1 -
src/systemd-notify.h | 47 ---
3 files changed, 1
.e.
"modules=systemd-notify.so". Watchdog timeout equals to
half of timeout defined by "WATCHDOG_USEC" environment
variable, which is set by "WatchdogSec=" setting in
service file.
Signed-off-by: Egor Starkov
Reviewed-by: Pekka Paalanen
---
Makefile.am | 19 +
gSec="
setting in service file.
Signed-off-by: Egor Starkov
Reviewed-by: Pekka Paalanen
---
Makefile.am | 10 -
configure.ac | 13 ++
src/main.c | 3 ++
src/systemd-notify.c | 120 +
can be enabled by
configuration flag, so it doesn't unexpectedly change weston's
behaviour.
Egor Starkov (1):
compositor: systemd notifications support
Makefile.am | 10 -
configure.ac | 13 ++
src/main.c | 3 ++
src/systemd-noti
Remove idle timer first update in weston_compositor_create()
since idle_time variable is not set at this point.
Idle timer is armed properly later in weston_compositor_wake().
Egor Starkov (1):
compositor: remove incorrect idle timer initialization
src/compositor.c | 1 -
1 file changed, 1
weston_compositor_create() should just create idle timer but
not arm it, because idle-time setting is not read at this point
Signed-off-by: Egor Starkov
---
src/compositor.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/compositor.c b/src/compositor.c
index cbef4dc..125afd5 100644
.
---
Changes since v1: Fixed reviewer's comment about simplifying of applying
default value for 'idle-time' setting.
Egor Starkov (1):
compositor: fix initializing idle timeout at startup
src/compositor.c | 3 ++-
src/compositor.h | 2 +-
src/main.c | 11 ---
3 f
Read and store idle-time setting before calling weston_compositor_create
that makes initial setting of idle timeout.
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=92030
Signed-off-by: Egor Starkov
---
src/compositor.c | 3 ++-
src/compositor.h | 2 +-
src/main.c | 11
Read and store idle-time setting before calling weston_compositor_create
that makes initial setting of idle timeout.
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=92030
Signed-off-by: Egor Starkov
---
src/compositor.c | 3 ++-
src/compositor.h | 2 +-
src/main.c | 13
idle-time setting is currently read and set after weston_compositor_create
is called. This causes an issue that screen never goes dark after weston started
until first input event. Change is fixing that by reading idle-time setting
before timer initialization.
Egor Starkov (1):
compositor: fix
10 matches
Mail list logo