# cmd_find_client_better

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

```c
static int cmd_find_client_better(struct client *c, struct client *than)
```

## Parameters

- `c` (`struct client *`)
- `than` (`struct client *`)

## Called by

- [`cmd_find_best_client`](/en/tmux/3.7c/reference/c-function-cmd_find_best_client/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-find.c#L126)

## Referenced declarations

- [`client.activity_time`](/en/tmux/3.7c/reference/c-struct-client-activity_time/) (attribute)
- [`client`](/en/tmux/3.7c/reference/c-struct-client/) (struct)
- [`timercmp`](/en/tmux/3.7c/reference/c-define-compat-h-timercmp/) (constant)
