mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-21 02:01:38 +00:00
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:
parent
2eb13c9047
commit
d332ee3fcd
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user