summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/tmux.h
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2015-12-15 00:00:01 +0000
committernicm <nicm@openbsd.org>2015-12-15 00:00:01 +0000
commit7519eda3a2d74d39e8eb8c0689e3da0f2bc3bae0 (patch)
treef8be89ec727706f58d3f1cbb3ef059c39acdf6d1 /usr.bin/tmux/tmux.h
parentUse cmd_find_clear_state instead of an extra function doing the same. (diff)
downloadwireguard-openbsd-7519eda3a2d74d39e8eb8c0689e3da0f2bc3bae0.tar.xz
wireguard-openbsd-7519eda3a2d74d39e8eb8c0689e3da0f2bc3bae0.zip
Make the marked pane a cmd_find_state.
Diffstat (limited to 'usr.bin/tmux/tmux.h')
-rw-r--r--usr.bin/tmux/tmux.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h
index aa466f70353..e26f91ed6d8 100644
--- a/usr.bin/tmux/tmux.h
+++ b/usr.bin/tmux/tmux.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tmux.h,v 1.610 2015/12/14 23:30:58 nicm Exp $ */
+/* $OpenBSD: tmux.h,v 1.611 2015/12/15 00:00:01 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -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);