wm: add missing dissolve for decorator input

The missing dissolve of the dummy decorator input component resulted in
problems when using the themed_decorator when repeatedly opening and
closing windows. In contrast to the default decorator, the themed
decorator creates and destroys nitpicker sessions per window.
This commit is contained in:
Norman Feske 2017-12-05 13:39:27 +01:00 committed by Christian Helmuth
parent 8fe0a7514f
commit bf60e1486d
1 changed files with 5 additions and 0 deletions

View File

@ -215,6 +215,11 @@ struct Wm::Decorator_nitpicker_session : Genode::Rpc_object<Nitpicker::Session>,
_nitpicker_session.input()->sigh(_input_handler);
}
~Decorator_nitpicker_session()
{
_env.ep().dissolve(_dummy_input_component);
}
void _handle_input()
{
while (_nitpicker_session.input()->pending())