# session_group_synchronize_from

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/session.c#L617
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-function-session_group_synchronize_from/

```c
void session_group_synchronize_from(struct session *target)
```

## Parameters

- `target` (`struct session *`)

## Called by

- [`cmd_swap_window_exec`](/en/tmux/3.2a/reference/c-function-cmd-swap-window-c-cmd_swap_window_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-swap-window.c#L85)
- [`session_attach`](/en/tmux/3.2a/reference/c-function-session_attach/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/session.c#L343)
- [`session_detach`](/en/tmux/3.2a/reference/c-function-session_detach/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/session.c#L361)
- [`spawn_window`](/en/tmux/3.2a/reference/c-function-spawn_window/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/spawn.c#L196)

## Calls

- [`session_group_synchronize1`](/en/tmux/3.2a/reference/c-function-session-c-session_group_synchronize1/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/session.c#L627)

## Other function references

- [`session_group_contains`](/en/tmux/3.2a/reference/c-function-session_group_contains/) (function)

## Referenced by

- [`session_new`](/en/tmux/3.2a/reference/c-function-session_new/) (function)

## Referenced declarations

- [`session.gentry`](/en/tmux/3.2a/reference/c-struct-session-gentry/) (attribute)
- [`session`](/en/tmux/3.2a/reference/c-struct-session/) (struct)
- [`session_group.sessions`](/en/tmux/3.2a/reference/c-struct-session_group-sessions/) (attribute)
