# recalculate_sizes_now

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

```c
void recalculate_sizes_now(int now)
```

## Parameters

- `now` (`int`)

## Called by

- [`cmd_refresh_client_control_client_size`](/en/tmux/3.7c/reference/c-function-cmd-refresh-client-c-cmd_refresh_client_control_client_size/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-refresh-client.c#L102)
- [`recalculate_sizes`](/en/tmux/3.7c/reference/c-function-recalculate_sizes/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/resize.c#L422)

## Calls

- [`ignore_client_size`](/en/tmux/3.7c/reference/c-function-resize-c-ignore_client_size/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/resize.c#L449)
- [`recalculate_size`](/en/tmux/3.7c/reference/c-function-recalculate_size/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/resize.c#L459)
- [`status_update_cache`](/en/tmux/3.7c/reference/c-function-status_update_cache/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/resize.c#L438)

## Referenced by

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

## Referenced declarations

- [`session.attached`](/en/tmux/3.7c/reference/c-struct-session-attached/) (attribute)
- [`CLIENT_CONTROL`](/en/tmux/3.7c/reference/c-define-tmux-h-client_control/) (constant)
- [`CLIENT_STATUSOFF`](/en/tmux/3.7c/reference/c-define-tmux-h-client_statusoff/) (constant)
- [`CLIENT_UNATTACHEDFLAGS`](/en/tmux/3.7c/reference/c-define-tmux-h-client_unattachedflags/) (constant)
- [`window.entry`](/en/tmux/3.7c/reference/c-struct-window-entry/) (attribute)
- [`client.flags`](/en/tmux/3.7c/reference/c-struct-client-flags/) (attribute)
- [`client.session`](/en/tmux/3.7c/reference/c-struct-client-session/) (attribute)
- [`session.statuslines`](/en/tmux/3.7c/reference/c-struct-session-statuslines/) (attribute)
- [`tty.sy`](/en/tmux/3.7c/reference/c-struct-tty-sy/) (attribute)
- [`client.tty`](/en/tmux/3.7c/reference/c-struct-client-tty/) (attribute)
