> inline void > msh::SessionManager::set_focus_to_locked(std::unique_lock<std::mutex> const&, > std::shared_ptr<Session> const& shell_session) > { > auto old_focus = focus_application.lock(); > > focus_application = shell_session; > > focus_setter->set_focus_to(shell_session); > if (shell_session) > { > session_listener->focused(shell_session); > } > else > { > session_listener->unfocused(); > } > } > > Note that the SessionManager::mutex isn't seized.
Sorry, that last bit is a thinko.
« Back to merge proposal
> inline void ager::set_ focus_to_ locked( std::unique_ lock<std: :mutex> const&, ptr<Session> const& shell_session) on.lock( ); >set_focus_ to(shell_ session) ; listener- >focused( shell_session) ; listener- >unfocused( ); :mutex isn't seized.
> msh::SessionMan
> std::shared_
> {
> auto old_focus = focus_applicati
>
> focus_application = shell_session;
>
> focus_setter-
> if (shell_session)
> {
> session_
> }
> else
> {
> session_
> }
> }
>
> Note that the SessionManager:
Sorry, that last bit is a thinko.