[PATCH weston v2] compositor: fix initializing idle timeout at startup

Egor Starkov egor.starkov at ge.com
Tue Sep 22 03:49:59 PDT 2015


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.

-----------------------------------
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 files changed, 7 insertions(+), 9 deletions(-)

-- 
1.8.3.1



More information about the wayland-devel mailing list