aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2013-02-23 13:03:47 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2013-02-23 13:03:47 +0000
commit57eb334d5b989642c84b974908c43c729983d1b8 (patch)
tree5600670a3688454d211b34ff8d45419bcd06d94c /tmux.h
parent5f904aa35002246ee1005e3849455ccbdc321781 (diff)
parentee0f8adfac76cdf21cfd2c0b503d8d66dcb883cc (diff)
downloadrtmux-57eb334d5b989642c84b974908c43c729983d1b8.tar.gz
rtmux-57eb334d5b989642c84b974908c43c729983d1b8.tar.bz2
rtmux-57eb334d5b989642c84b974908c43c729983d1b8.zip
Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/tmux.h b/tmux.h
index b80face5..966588cc 100644
--- a/tmux.h
+++ b/tmux.h
@@ -237,6 +237,9 @@ enum key_code {
KEYC_KP_ENTER,
KEYC_KP_ZERO,
KEYC_KP_PERIOD,
+
+ KEYC_FOCUS_IN,
+ KEYC_FOCUS_OUT,
};
/* Termcap codes. */
@@ -1316,6 +1319,7 @@ struct client {
#define CLIENT_READONLY 0x800
#define CLIENT_REDRAWWINDOW 0x1000
#define CLIENT_CONTROL 0x2000
+#define CLIENT_FOCUSED 0x4000
int flags;
struct event identify_timer;
@@ -1728,7 +1732,7 @@ struct cmd *cmd_parse(int, char **, char **);
size_t cmd_print(struct cmd *, char *, size_t);
struct session *cmd_current_session(struct cmd_ctx *, int);
struct client *cmd_current_client(struct cmd_ctx *);
-struct client *cmd_find_client(struct cmd_ctx *, const char *);
+struct client *cmd_find_client(struct cmd_ctx *, const char *, int);
struct session *cmd_find_session(struct cmd_ctx *, const char *, int);
struct winlink *cmd_find_window(
struct cmd_ctx *, const char *, struct session **);