weston/protocol
Pekka Paalanen 79346ab3a5 shell: wait for desktop-shell init before fade in
On Raspberry Pi, weston-desktop-shell is so slow to start, that the
compositor has time to run the fade-in before the wallpaper is up. The
user launching Weston sees the screen flipping to black, the fbcon
fading in, and then the desktop popping up.

To fix this, wait for the weston-desktop-shell to draw
everything before starting the initial fade-in. A new request is
added to the private desktop-shell protocol to signal it. If a
desktop-shell client does not support the new request, the fade-in
happens already at bind time.

If weston-desktop-shell crashes, or does not send the 'desktop_ready'
request in 15 seconds, the compositor will fade in anyway. This should
avoid a blocked screen in case weston-desktop-shell malfunction.

shell_fade_startup() does not directly start the fade-in but schedules
an idle callback, so that the compositor can process all pending events
before starting the fade clock. Otherwise (on RPi) we risk skipping part
of the animation. Yes, it is a hack, that should have been done in
window.c and weston-desktop-shell instead.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
2013-05-22 18:07:30 -04:00
..
Makefile.am tests: Define and implement a test protocol extension. 2012-12-11 15:29:52 -05:00
desktop-shell.xml shell: wait for desktop-shell init before fade in 2013-05-22 18:07:30 -04:00
input-method.xml text: Rename input_method to wl_input_method 2013-05-02 17:18:46 -04:00
screenshooter.xml screenshooter: Grab pixel data directly before buffer swap 2012-04-20 16:13:27 -04:00
subsurface.xml protocol: improve sub-surface spec wording 2013-05-20 10:30:58 -04:00
tablet-shell.xml De-brand the tablet shell 2011-11-14 15:57:59 -05:00
text-cursor-position.xml Convert text cursor position protocol to use fixed types. 2012-06-04 11:07:50 -04:00
text.xml text: Improve protocol documentation. 2013-05-02 17:12:21 -04:00
wayland-test.xml tests: Define and implement a test protocol extension. 2012-12-11 15:29:52 -05:00
workspaces.xml shell: Introduce workspace manager interface 2012-08-31 19:51:49 -04:00
xserver.xml compositor: Add a simple WM to the xserver launcher 2011-07-01 10:46:40 -04:00