void MyShellModule::init(Compositor& comp, Seat& seat) { compositor_ = ∁ seat_ = &seat; shell_.reset(new Shell(comp)); xdgShell_.reset(new XdgShell(comp)); seat.keyboard()->onFocus(nytl::memberCallback(&MyShellModule::keyboardFocus, this)); }