nit_fader: update view visibility for late clients

The visibility of the client's view is re-evaluated at each animation
step. However, when the client appears long after the initial
fade-in/out animation is completed, the initial visibility state
remaines unchanged. This happens when booting the Sculpt scenario in
Qemu where the the nit_fb instances of the leitzentrale could not be
started in time. This patch fixes the issue by re-evaluating the view
visibility also at the view-creation time.
This commit is contained in:
Norman Feske 2018-03-05 15:49:46 +01:00 committed by Christian Helmuth
parent 2eb13c9047
commit d332ee3fcd

View File

@ -348,6 +348,7 @@ class Nit_fader::Nitpicker_session_component
View_handle create_view(View_handle parent) override
{
_view_handle = _nitpicker.create_view(parent);
_update_view_visibility();
return _view_handle;
}