From 18aab909593440bfa4fe003a9f683c0fb2993461 Mon Sep 17 00:00:00 2001 From: nicm Date: Sun, 24 May 2020 09:40:17 +0000 Subject: Give control code its own state struct. --- tmux.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tmux.h') diff --git a/tmux.h b/tmux.h index 8085b4a7..a94e7611 100644 --- a/tmux.h +++ b/tmux.h @@ -45,7 +45,7 @@ struct cmdq_item; struct cmdq_list; struct cmdq_state; struct cmds; -struct control_offsets; +struct control_state; struct environ; struct format_job_tree; struct format_tree; @@ -1563,7 +1563,7 @@ struct client { struct cmdq_list *queue; struct client_windows windows; - struct control_offsets *offsets; + struct control_state *control_state; pid_t pid; int fd; @@ -2813,6 +2813,7 @@ char *parse_window_name(const char *); /* control.c */ void control_start(struct client *); +void control_stop(struct client *); void control_set_pane_on(struct client *, struct window_pane *); void control_set_pane_off(struct client *, struct window_pane *); struct window_pane_offset *control_pane_offset(struct client *, -- cgit