pub fn socket_path() -> Option<PathBuf>
Where the window listens for what is said to it from outside: in the session’s runtime directory, which is its user’s alone. None if the session has none.
None