# client.session

- **Language:** C
- **Kind:** attribute
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tmux.h#L2198
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-struct-client-session/

```c
struct session * session;
```

## Referenced by

- [`alerts_set_message`](/en/tmux/3.7c/reference/c-function-alerts-c-alerts_set_message/) (function)
- [`cfg_show_causes`](/en/tmux/3.7c/reference/c-function-cfg_show_causes/) (function)
- [`clients_with_window`](/en/tmux/3.7c/reference/c-function-resize-c-clients_with_window/) (function)
- [`cmd_attach_session`](/en/tmux/3.7c/reference/c-function-cmd_attach_session/) (function)
- [`cmd_copy_mode_exec`](/en/tmux/3.7c/reference/c-function-cmd-copy-mode-c-cmd_copy_mode_exec/) (function)
- [`cmd_display_menu_get_pos`](/en/tmux/3.7c/reference/c-function-cmd-display-menu-c-cmd_display_menu_get_pos/) (function)
- [`cmd_display_message_exec`](/en/tmux/3.7c/reference/c-function-cmd-display-message-c-cmd_display_message_exec/) (function)
- [`cmd_display_panes_draw`](/en/tmux/3.7c/reference/c-function-cmd-display-panes-c-cmd_display_panes_draw/) (function)
- [`cmd_display_panes_draw_pane`](/en/tmux/3.7c/reference/c-function-cmd-display-panes-c-cmd_display_panes_draw_pane/) (function)
- [`cmd_display_panes_exec`](/en/tmux/3.7c/reference/c-function-cmd-display-panes-c-cmd_display_panes_exec/) (function)
- [`cmd_display_panes_key`](/en/tmux/3.7c/reference/c-function-cmd-display-panes-c-cmd_display_panes_key/) (function)
- [`cmd_find_best_client`](/en/tmux/3.7c/reference/c-function-cmd_find_best_client/) (function)
- [`cmd_find_client`](/en/tmux/3.7c/reference/c-function-cmd_find_client/) (function)
- [`cmd_find_current_client`](/en/tmux/3.7c/reference/c-function-cmd-find-c-cmd_find_current_client/) (function)
- [`cmd_find_from_client`](/en/tmux/3.7c/reference/c-function-cmd_find_from_client/) (function)
- [`cmd_find_get_session`](/en/tmux/3.7c/reference/c-function-cmd-find-c-cmd_find_get_session/) (function)
- [`cmd_find_target`](/en/tmux/3.7c/reference/c-function-cmd_find_target/) (function)
- [`cmd_load_buffer_done`](/en/tmux/3.7c/reference/c-function-cmd-load-buffer-c-cmd_load_buffer_done/) (function)
- [`cmd_new_session_exec`](/en/tmux/3.7c/reference/c-function-cmd-new-session-c-cmd_new_session_exec/) (function)
- [`cmd_new_window_exec`](/en/tmux/3.7c/reference/c-function-cmd-new-window-c-cmd_new_window_exec/) (function)
- [`cmd_refresh_client_exec`](/en/tmux/3.7c/reference/c-function-cmd-refresh-client-c-cmd_refresh_client_exec/) (function)
- [`cmd_resize_pane_mouse_update`](/en/tmux/3.7c/reference/c-function-cmd-resize-pane-c-cmd_resize_pane_mouse_update/) (function)
- [`cmd_save_buffer_exec`](/en/tmux/3.7c/reference/c-function-cmd-save-buffer-c-cmd_save_buffer_exec/) (function)
- [`cmd_select_pane_exec`](/en/tmux/3.7c/reference/c-function-cmd-select-pane-c-cmd_select_pane_exec/) (function)
- [`cmd_select_pane_redraw`](/en/tmux/3.7c/reference/c-function-cmd-select-pane-c-cmd_select_pane_redraw/) (function)
- [`cmd_select_window_exec`](/en/tmux/3.7c/reference/c-function-cmd-select-window-c-cmd_select_window_exec/) (function)
- [`cmd_source_file_complete`](/en/tmux/3.7c/reference/c-function-cmd-source-file-c-cmd_source_file_complete/) (function)
- [`cmd_switch_client_exec`](/en/tmux/3.7c/reference/c-function-cmd-switch-client-c-cmd_switch_client_exec/) (function)
- [`cmdq_add_message`](/en/tmux/3.7c/reference/c-function-cmd-queue-c-cmdq_add_message/) (function)
- [`cmdq_error`](/en/tmux/3.7c/reference/c-function-cmdq_error/) (function)
- [`control_check_subs_all_panes_one`](/en/tmux/3.7c/reference/c-function-control-c-control_check_subs_all_panes_one/) (function)
- [`control_check_subs_all_windows_one`](/en/tmux/3.7c/reference/c-function-control-c-control_check_subs_all_windows_one/) (function)
- [`control_check_subs_pane`](/en/tmux/3.7c/reference/c-function-control-c-control_check_subs_pane/) (function)
- [`control_check_subs_session`](/en/tmux/3.7c/reference/c-function-control-c-control_check_subs_session/) (function)
- [`control_check_subs_timer`](/en/tmux/3.7c/reference/c-function-control-c-control_check_subs_timer/) (function)
- [`control_check_subs_window`](/en/tmux/3.7c/reference/c-function-control-c-control_check_subs_window/) (function)
- [`control_notify_client_session_changed`](/en/tmux/3.7c/reference/c-function-control_notify_client_session_changed/) (function)
- [`control_notify_window_layout_changed`](/en/tmux/3.7c/reference/c-function-control_notify_window_layout_changed/) (function)
- [`control_notify_window_linked`](/en/tmux/3.7c/reference/c-function-control_notify_window_linked/) (function)
- [`control_notify_window_renamed`](/en/tmux/3.7c/reference/c-function-control_notify_window_renamed/) (function)
- [`control_notify_window_unlinked`](/en/tmux/3.7c/reference/c-function-control_notify_window_unlinked/) (function)
- [`control_window_pane`](/en/tmux/3.7c/reference/c-function-control-c-control_window_pane/) (function)
- [`control_write_output`](/en/tmux/3.7c/reference/c-function-control_write_output/) (function)
- [`default_window_size_skip_client`](/en/tmux/3.7c/reference/c-function-resize-c-default_window_size_skip_client/) (function)
- [`format_cb_client_session`](/en/tmux/3.7c/reference/c-function-format-c-format_cb_client_session/) (function)
- [`format_cb_session_active`](/en/tmux/3.7c/reference/c-function-format-c-format_cb_session_active/) (function)
- [`format_cb_session_attached_list`](/en/tmux/3.7c/reference/c-function-format-c-format_cb_session_attached_list/) (function)
- [`format_cb_session_group_attached_list`](/en/tmux/3.7c/reference/c-function-format-c-format_cb_session_group_attached_list/) (function)
- [`format_cb_window_active_clients`](/en/tmux/3.7c/reference/c-function-format-c-format_cb_window_active_clients/) (function)
- [`format_cb_window_active_clients_list`](/en/tmux/3.7c/reference/c-function-format-c-format_cb_window_active_clients_list/) (function)
- [`format_defaults`](/en/tmux/3.7c/reference/c-function-format_defaults/) (function)
- [`format_defaults_client`](/en/tmux/3.7c/reference/c-function-format-c-format_defaults_client/) (function)
- [`format_loop_sessions`](/en/tmux/3.7c/reference/c-function-format-c-format_loop_sessions/) (function)
- [`ignore_client_size`](/en/tmux/3.7c/reference/c-function-resize-c-ignore_client_size/) (function)
- [`menu_prepare`](/en/tmux/3.7c/reference/c-function-menu_prepare/) (function)
- [`menu_reapply_styles`](/en/tmux/3.7c/reference/c-function-menu-c-menu_reapply_styles/) (function)
- [`mode_tree_display_help`](/en/tmux/3.7c/reference/c-function-mode-tree-c-mode_tree_display_help/) (function)
- [`options_push_changes`](/en/tmux/3.7c/reference/c-function-options_push_changes/) (function)
- [`popup_display`](/en/tmux/3.7c/reference/c-function-popup_display/) (function)
- [`popup_make_pane`](/en/tmux/3.7c/reference/c-function-popup-c-popup_make_pane/) (function)
- [`popup_reapply_styles`](/en/tmux/3.7c/reference/c-function-popup-c-popup_reapply_styles/) (function)
- [`recalculate_size_skip_client`](/en/tmux/3.7c/reference/c-function-resize-c-recalculate_size_skip_client/) (function)
- [`recalculate_sizes_now`](/en/tmux/3.7c/reference/c-function-recalculate_sizes_now/) (function)
- [`screen_redraw_cell_border`](/en/tmux/3.7c/reference/c-function-screen-redraw-c-screen_redraw_cell_border/) (function)
- [`screen_redraw_check_cell`](/en/tmux/3.7c/reference/c-function-screen-redraw-c-screen_redraw_check_cell/) (function)
- [`screen_redraw_draw_border_arrows`](/en/tmux/3.7c/reference/c-function-screen-redraw-c-screen_redraw_draw_border_arrows/) (function)
- [`screen_redraw_draw_borders`](/en/tmux/3.7c/reference/c-function-screen-redraw-c-screen_redraw_draw_borders/) (function)
- [`screen_redraw_draw_borders_cell`](/en/tmux/3.7c/reference/c-function-screen-redraw-c-screen_redraw_draw_borders_cell/) (function)
- [`screen_redraw_draw_borders_style`](/en/tmux/3.7c/reference/c-function-screen-redraw-c-screen_redraw_draw_borders_style/) (function)
- [`screen_redraw_draw_pane`](/en/tmux/3.7c/reference/c-function-screen-redraw-c-screen_redraw_draw_pane/) (function)
- [`screen_redraw_draw_pane_scrollbars`](/en/tmux/3.7c/reference/c-function-screen-redraw-c-screen_redraw_draw_pane_scrollbars/) (function)
- [`screen_redraw_draw_pane_status`](/en/tmux/3.7c/reference/c-function-screen-redraw-c-screen_redraw_draw_pane_status/) (function)
- [`screen_redraw_draw_panes`](/en/tmux/3.7c/reference/c-function-screen-redraw-c-screen_redraw_draw_panes/) (function)
- [`screen_redraw_draw_status`](/en/tmux/3.7c/reference/c-function-screen-redraw-c-screen_redraw_draw_status/) (function)
- [`screen_redraw_make_pane_status`](/en/tmux/3.7c/reference/c-function-screen-redraw-c-screen_redraw_make_pane_status/) (function)
- [`screen_redraw_set_context`](/en/tmux/3.7c/reference/c-function-screen-redraw-c-screen_redraw_set_context/) (function)
- [`screen_redraw_type_of_cell`](/en/tmux/3.7c/reference/c-function-screen-redraw-c-screen_redraw_type_of_cell/) (function)
- [`screen_redraw_update`](/en/tmux/3.7c/reference/c-function-screen-redraw-c-screen_redraw_update/) (function)
- [`screen_write_set_client_cb`](/en/tmux/3.7c/reference/c-function-screen-write-c-screen_write_set_client_cb/) (function)
- [`server_client_attached_lost`](/en/tmux/3.7c/reference/c-function-server-client-c-server_client_attached_lost/) (function)
- [`server_client_check_modes`](/en/tmux/3.7c/reference/c-function-server-client-c-server_client_check_modes/) (function)
- [`server_client_check_mouse`](/en/tmux/3.7c/reference/c-function-server-client-c-server_client_check_mouse/) (function)
- [`server_client_check_pane_buffer`](/en/tmux/3.7c/reference/c-function-server-client-c-server_client_check_pane_buffer/) (function)
- [`server_client_check_redraw`](/en/tmux/3.7c/reference/c-function-server-client-c-server_client_check_redraw/) (function)
- [`server_client_clear_overlay`](/en/tmux/3.7c/reference/c-function-server_client_clear_overlay/) (function)
- [`server_client_detach`](/en/tmux/3.7c/reference/c-function-server_client_detach/) (function)
- [`server_client_dispatch`](/en/tmux/3.7c/reference/c-function-server-client-c-server_client_dispatch/) (function)
- [`server_client_exec`](/en/tmux/3.7c/reference/c-function-server_client_exec/) (function)
- [`server_client_get_cwd`](/en/tmux/3.7c/reference/c-function-server_client_get_cwd/) (function)
- [`server_client_get_key_table`](/en/tmux/3.7c/reference/c-function-server_client_get_key_table/) (function)
- [`server_client_get_pane`](/en/tmux/3.7c/reference/c-function-server_client_get_pane/) (function)
- [`server_client_handle_key`](/en/tmux/3.7c/reference/c-function-server_client_handle_key/) (function)
- [`server_client_how_many`](/en/tmux/3.7c/reference/c-function-server_client_how_many/) (function)
- [`server_client_is_assume_paste`](/en/tmux/3.7c/reference/c-function-server-client-c-server_client_is_assume_paste/) (function)
- [`server_client_key_callback`](/en/tmux/3.7c/reference/c-function-server-client-c-server_client_key_callback/) (function)
- [`server_client_loop`](/en/tmux/3.7c/reference/c-function-server_client_loop/) (function)
- [`server_client_print`](/en/tmux/3.7c/reference/c-function-server_client_print/) (function)
- [`server_client_repeat_time`](/en/tmux/3.7c/reference/c-function-server-client-c-server_client_repeat_time/) (function)
- [`server_client_reset_state`](/en/tmux/3.7c/reference/c-function-server-client-c-server_client_reset_state/) (function)
- [`server_client_set_overlay`](/en/tmux/3.7c/reference/c-function-server_client_set_overlay/) (function)
- [`server_client_set_pane`](/en/tmux/3.7c/reference/c-function-server_client_set_pane/) (function)
- [`server_client_set_path`](/en/tmux/3.7c/reference/c-function-server-client-c-server_client_set_path/) (function)
- [`server_client_set_progress_bar`](/en/tmux/3.7c/reference/c-function-server-client-c-server_client_set_progress_bar/) (function)
- [`server_client_set_session`](/en/tmux/3.7c/reference/c-function-server_client_set_session/) (function)
- [`server_client_set_title`](/en/tmux/3.7c/reference/c-function-server-client-c-server_client_set_title/) (function)
- [`server_client_suspend`](/en/tmux/3.7c/reference/c-function-server_client_suspend/) (function)
- [`server_client_update_latest`](/en/tmux/3.7c/reference/c-function-server-client-c-server_client_update_latest/) (function)
- [`server_destroy_session`](/en/tmux/3.7c/reference/c-function-server_destroy_session/) (function)
- [`server_lock`](/en/tmux/3.7c/reference/c-function-server_lock/) (function)
- [`server_lock_client`](/en/tmux/3.7c/reference/c-function-server_lock_client/) (function)
- [`server_lock_session`](/en/tmux/3.7c/reference/c-function-server_lock_session/) (function)
- [`server_loop`](/en/tmux/3.7c/reference/c-function-server-c-server_loop/) (function)
- [`server_redraw_session`](/en/tmux/3.7c/reference/c-function-server_redraw_session/) (function)
- [`server_redraw_window`](/en/tmux/3.7c/reference/c-function-server_redraw_window/) (function)
- [`server_redraw_window_borders`](/en/tmux/3.7c/reference/c-function-server_redraw_window_borders/) (function)
- [`server_send_exit`](/en/tmux/3.7c/reference/c-function-server-c-server_send_exit/) (function)
- [`server_status_session`](/en/tmux/3.7c/reference/c-function-server_status_session/) (function)
- [`spawn_pane`](/en/tmux/3.7c/reference/c-function-spawn_pane/) (function)
- [`status_at_line`](/en/tmux/3.7c/reference/c-function-status_at_line/) (function)
- [`status_line_size`](/en/tmux/3.7c/reference/c-function-status_line_size/) (function)
- [`status_message_redraw`](/en/tmux/3.7c/reference/c-function-status_message_redraw/) (function)
- [`status_message_set`](/en/tmux/3.7c/reference/c-function-status_message_set/) (function)
- [`status_prompt_area`](/en/tmux/3.7c/reference/c-function-status-c-status_prompt_area/) (function)
- [`status_prompt_complete`](/en/tmux/3.7c/reference/c-function-status-c-status_prompt_complete/) (function)
- [`status_prompt_complete_list_menu`](/en/tmux/3.7c/reference/c-function-status-c-status_prompt_complete_list_menu/) (function)
- [`status_prompt_complete_window_menu`](/en/tmux/3.7c/reference/c-function-status-c-status_prompt_complete_window_menu/) (function)
- [`status_prompt_key`](/en/tmux/3.7c/reference/c-function-status_prompt_key/) (function)
- [`status_prompt_line_at`](/en/tmux/3.7c/reference/c-function-status_prompt_line_at/) (function)
- [`status_prompt_redraw`](/en/tmux/3.7c/reference/c-function-status_prompt_redraw/) (function)
- [`status_redraw`](/en/tmux/3.7c/reference/c-function-status_redraw/) (function)
- [`status_timer_callback`](/en/tmux/3.7c/reference/c-function-status-c-status_timer_callback/) (function)
- [`status_timer_start`](/en/tmux/3.7c/reference/c-function-status_timer_start/) (function)
- [`tty_client_ready`](/en/tmux/3.7c/reference/c-function-tty-c-tty_client_ready/) (function)
- [`tty_keys_next`](/en/tmux/3.7c/reference/c-function-tty_keys_next/) (function)
- [`tty_update_window_offset`](/en/tmux/3.7c/reference/c-function-tty_update_window_offset/) (function)
- [`tty_window_bigger`](/en/tmux/3.7c/reference/c-function-tty_window_bigger/) (function)
- [`tty_window_offset1`](/en/tmux/3.7c/reference/c-function-tty-c-tty_window_offset1/) (function)
- [`window_client_draw`](/en/tmux/3.7c/reference/c-function-window-client-c-window_client_draw/) (function)
- [`window_get_bg_client`](/en/tmux/3.7c/reference/c-function-window_get_bg_client/) (function)
- [`window_pane_get_fg`](/en/tmux/3.7c/reference/c-function-window_pane_get_fg/) (function)
- [`window_pane_get_theme`](/en/tmux/3.7c/reference/c-function-window_pane_get_theme/) (function)
- [`window_pane_read_callback`](/en/tmux/3.7c/reference/c-function-window-c-window_pane_read_callback/) (function)
- [`window_pane_start_input`](/en/tmux/3.7c/reference/c-function-window_pane_start_input/) (function)
- [`window_pane_update_focus`](/en/tmux/3.7c/reference/c-function-window_pane_update_focus/) (function)

## Referenced declarations

- [`session`](/en/tmux/3.7c/reference/c-struct-session/) (struct)
