diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2013-02-23 13:03:47 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2013-02-23 13:03:47 +0000 |
commit | 57eb334d5b989642c84b974908c43c729983d1b8 (patch) | |
tree | 5600670a3688454d211b34ff8d45419bcd06d94c /tmux.h | |
parent | 5f904aa35002246ee1005e3849455ccbdc321781 (diff) | |
parent | ee0f8adfac76cdf21cfd2c0b503d8d66dcb883cc (diff) | |
download | rtmux-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.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 **); |