compositor: force fade-in on start
authorPekka Paalanen <ppaalanen@gmail.com>
Thu, 5 Jan 2012 14:28:21 +0000 (16:28 +0200)
committerPekka Paalanen <ppaalanen@gmail.com>
Thu, 5 Jan 2012 14:49:54 +0000 (16:49 +0200)
commitc0444e3ad69728ea0792234d60550f77d8820f2e
tree6fde96df6cf4501b3b6df5d1d726d265d0e39ed8
parent61b5c6726887337fe6027617ca6ad935fe04eda1
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 <ppaalanen@gmail.com>
src/compositor.c