# session_group_synchronize1

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/session.c#L634
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-function-session-c-session_group_synchronize1/

```c
static void session_group_synchronize1(struct session *, struct session *)
```

## Parameters

- `target` (`struct session *`)
- `s` (`struct session *`)

## Called by

- [`session_group_synchronize_from`](/en/tmux/3.7c/reference/c-function-session_group_synchronize_from/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/session.c#L624)
- [`session_group_synchronize_to`](/en/tmux/3.7c/reference/c-function-session_group_synchronize_to/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/session.c#L609)

## Calls

- [`notify_session_window`](/en/tmux/3.7c/reference/c-function-notify_session_window/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/session.c#L660)
- [`session_next`](/en/tmux/3.7c/reference/c-function-session_next/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/session.c#L649)
- [`winlink_add`](/en/tmux/3.7c/reference/c-function-winlink_add/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/session.c#L657)
- [`winlink_find_by_index`](/en/tmux/3.7c/reference/c-function-winlink_find_by_index/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/session.c#L666)
- [`winlink_find_by_window_id`](/en/tmux/3.7c/reference/c-function-winlink_find_by_window_id/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/session.c#L684)
- [`winlink_remove`](/en/tmux/3.7c/reference/c-function-winlink_remove/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/session.c#L687)
- [`winlink_set_window`](/en/tmux/3.7c/reference/c-function-winlink_set_window/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/session.c#L659)

## Other function references

- [`session_last`](/en/tmux/3.7c/reference/c-function-session_last/) (function)
- [`session_previous`](/en/tmux/3.7c/reference/c-function-session_previous/) (function)

## Referenced declarations

- [`session.curw`](/en/tmux/3.7c/reference/c-struct-session-curw/) (attribute)
- [`winlink.flags`](/en/tmux/3.7c/reference/c-struct-winlink-flags/) (attribute)
- [`window.id`](/en/tmux/3.7c/reference/c-struct-window-id/) (attribute)
- [`winlink.idx`](/en/tmux/3.7c/reference/c-struct-winlink-idx/) (attribute)
- [`session.lastw`](/en/tmux/3.7c/reference/c-struct-session-lastw/) (attribute)
- [`winlink.sentry`](/en/tmux/3.7c/reference/c-struct-winlink-sentry/) (attribute)
- [`session`](/en/tmux/3.7c/reference/c-struct-session/) (struct)
- [`winlink.session`](/en/tmux/3.7c/reference/c-struct-winlink-session/) (attribute)
- [`winlink.window`](/en/tmux/3.7c/reference/c-struct-winlink-window/) (attribute)
- [`session.windows`](/en/tmux/3.7c/reference/c-struct-session-windows/) (attribute)
- [`WINLINK_ALERTFLAGS`](/en/tmux/3.7c/reference/c-define-tmux-h-winlink_alertflags/) (constant)
- [`WINLINK_VISITED`](/en/tmux/3.7c/reference/c-define-tmux-h-winlink_visited/) (constant)
