mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-18 18:56:29 +00:00
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:
parent
8fe0a7514f
commit
bf60e1486d
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user