mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-22 04:52:56 +01: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:
committed by
Christian Helmuth
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user