summaryrefslogtreecommitdiffstats
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2015-12-15 00:00:01 +0000
committernicm <nicm>2015-12-15 00:00:01 +0000
commit12da13c9d1e0e015ed19761e352ee6b877b23aa4 (patch)
tree2e8a12562054300f12fb2fc782c57d54ae4a4853 /tmux.h
parentd5999f8b5cbbd3648d7a6c00100e5eab279a90bb (diff)
Make the marked pane a cmd_find_state.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/tmux.h b/tmux.h
index c6bd48cf..651990f0 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1766,6 +1766,9 @@ int cmd_find_target(struct cmd_find_state *, struct cmd_q *,
struct client *cmd_find_client(struct cmd_q *, const char *, int);
void cmd_find_clear_state(struct cmd_find_state *, struct cmd_q *,
int);
+int cmd_find_valid_state(struct cmd_find_state *);
+void cmd_find_copy_state(struct cmd_find_state *,
+ struct cmd_find_state *);
void cmd_find_log_state(const char *, struct cmd_find_state *);
/* cmd.c */
@@ -1844,9 +1847,7 @@ void alerts_check_session(struct session *);
/* server.c */
extern struct tmuxproc *server_proc;
extern struct clients clients;
-extern struct session *marked_session;
-extern struct winlink *marked_winlink;
-extern struct window_pane *marked_window_pane;
+extern struct cmd_find_state marked_pane;
void server_set_marked(struct session *, struct winlink *,
struct window_pane *);
void server_clear_marked(void);