mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-04 21:08:05 +02:00
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>
This commit is contained in:
parent
61b5c67268
commit
c0444e3ad6
1 changed files with 1 additions and 0 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue