aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2020-05-24 09:40:17 +0000
committernicm <nicm>2020-05-24 09:40:17 +0000
commit18aab909593440bfa4fe003a9f683c0fb2993461 (patch)
treed63e37011e2943ec777b0af199f129c32b68ba59 /tmux.h
parent6c829827110c6616c8abe8cb3ef9e9ed0a1dbd7d (diff)
downloadrtmux-18aab909593440bfa4fe003a9f683c0fb2993461.tar.gz
rtmux-18aab909593440bfa4fe003a9f683c0fb2993461.tar.bz2
rtmux-18aab909593440bfa4fe003a9f683c0fb2993461.zip
Give control code its own state struct.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h5
1 files changed, 3 insertions, 2 deletions
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 *,