From c0444e3ad69728ea0792234d60550f77d8820f2e Mon Sep 17 00:00:00 2001 From: Pekka Paalanen Date: Thu, 5 Jan 2012 16:28:21 +0200 Subject: [PATCH] compositor: force fade-in on start Weston initialises to faded-out state, which means all outputs are just black, even if they render fine. Previously the fade-in was triggered probably by some random input event, since Weston was not guaranteed to wake up. Especially with the drm backend, and the usual problem of not having permissions to input devices, Weston would not fade in at all and appear broken. Force Weston to fade in right after initialisation. This show that at least rendering works, if it does not respond to any input. Signed-off-by: Pekka Paalanen --- src/compositor.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compositor.c b/src/compositor.c index eacae9c..819cb5d 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -2207,6 +2207,7 @@ int main(int argc, char *argv[]) exit(EXIT_FAILURE); } + weston_compositor_wake(ec); wl_display_run(display); /* prevent further rendering while shutting down */ -- 2.7.4