I've just found a piece of dead code that looks suspiciously relevant:
mir::DefaultServerConfiguration::the_input_manager()
{
// As the input configuration is structured now, if there is no
// InputReader (as in the nested case) there will be nothing to instate
// and keep alive the cursor and its controller.
// We use the CursorControllingInputManager for this purpose.
struct CursorControllingInputManager : public mi::NullInputManager
{ CursorControllingInputManager( std::shared_ptr<mi::CursorListener> const& cursor_listener)
: cursor_listener(cursor_listener)
{
}
I've just found a piece of dead code that looks suspiciously relevant:
mir::DefaultSer verConfiguratio n::the_ input_manager( ) ngInputManager for this purpose. ngInputManager : public mi::NullInputMa nager
CursorControll ingInputManager (
std: :shared_ ptr<mi: :CursorListener > const& cursor_listener) listener( cursor_ listener)
{
// As the input configuration is structured now, if there is no
// InputReader (as in the nested case) there will be nothing to instate
// and keep alive the cursor and its controller.
// We use the CursorControlli
struct CursorControlli
{
: cursor_
{
}
};
(CursorControll ingInputManager is not used anywhere)