# cmd_find_from_winlink

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-find.c#L737
- **Page:** https://libtmux.org/en/tmux/latest/reference/c-function-cmd_find_from_winlink/

```c
void cmd_find_from_winlink(struct cmd_find_state *fs, struct winlink *wl, int flags)
```

## Parameters

- `fs` (`struct cmd_find_state *`)
- `wl` (`struct winlink *`)
- `flags` (`int`)

## Called by

- [`cmd_attach_session`](/en/tmux/latest/reference/c-function-cmd_attach_session/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-attach-session.c#L100)
- [`cmd_new_window_exec`](/en/tmux/latest/reference/c-function-cmd-new-window-c-cmd_new_window_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-new-window.c#L148)
- [`cmd_select_pane_exec`](/en/tmux/latest/reference/c-function-cmd-select-pane-c-cmd_select_pane_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-select-pane.c#L128)
- [`notify_winlink`](/en/tmux/latest/reference/c-function-notify_winlink/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/notify.c#L283)

## Calls

- [`cmd_find_clear_state`](/en/tmux/latest/reference/c-function-cmd_find_clear_state/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-find.c#L739)
- [`cmd_find_log_state`](/en/tmux/latest/reference/c-function-cmd-find-c-cmd_find_log_state/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-find.c#L746)

## Referenced declarations

- [`window.active`](/en/tmux/latest/reference/c-struct-window-active/) (attribute)
- [`cmd_find_state`](/en/tmux/latest/reference/c-struct-cmd_find_state/) (struct)
- [`winlink.flags`](/en/tmux/latest/reference/c-struct-winlink-flags/) (attribute)
- [`cmd_find_state.s`](/en/tmux/latest/reference/c-struct-cmd_find_state-s/) (attribute)
- [`winlink.session`](/en/tmux/latest/reference/c-struct-winlink-session/) (attribute)
- [`cmd_find_state.w`](/en/tmux/latest/reference/c-struct-cmd_find_state-w/) (attribute)
- [`winlink.window`](/en/tmux/latest/reference/c-struct-winlink-window/) (attribute)
- [`winlink`](/en/tmux/latest/reference/c-struct-winlink/) (struct)
- [`cmd_find_state.wl`](/en/tmux/latest/reference/c-struct-cmd_find_state-wl/) (attribute)
- [`cmd_find_state.wp`](/en/tmux/latest/reference/c-struct-cmd_find_state-wp/) (attribute)
