pub fn with_xdg_shell_mut<R, F: FnOnce(&mut XdgShell) -> R>(f: F) -> Option<R>
Execute a closure with mutable access to the XDG shell.