This is one of the reasons why I make a better solution into lp:mir - it will turn into a bigger change and somewhat turn into something that no longer looks like simple fix.
Two step init is necessary to avoid a dependency cycle between 'the intput dispatchers' and InputDeviceHub.
> src/server/ input/default_ configuration. cpp ptr<mi: :InputDispatche r> filter_ chain_dispatche r(), the_main_loop(), authority( ), filter_ chain_dispatche r(), the_main_loop(), authority( ),
>
> - [this]()
> + [this]() -> std::shared_
>
> - the_event_
> the_cookie_
> - enable_repeat, key_repeat_timeout, key_repeat_delay);
> + the_event_
> the_cookie_
> + enable_repeat, key_repeat_timeout, key_repeat_delay);
>
> unneeded changes?
yes reverting that..
> device_ hub(std: :shared_ ptr<InputDevice Hub> const& hub);
> + void set_input_
> two step initialization.
This is one of the reasons why I make a better solution into lp:mir - it will turn into a bigger change and somewhat turn into something that no longer looks like simple fix.
Two step init is necessary to avoid a dependency cycle between 'the intput dispatchers' and InputDeviceHub.