aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2013-06-23 13:10:46 +0000
committerThomas Adam <thomas@xteddy.org>2013-06-28 20:55:16 +0100
commitc7a121cfc0137c907b7bfb0c3fd1bdee395af8aa (patch)
tree3a746b9f737616e49e490ce555df0655e7952bcc /tmux.h
parent777be296ee041e7d9131110e0489e791ed389ac1 (diff)
downloadrtmux-c7a121cfc0137c907b7bfb0c3fd1bdee395af8aa.tar.gz
rtmux-c7a121cfc0137c907b7bfb0c3fd1bdee395af8aa.tar.bz2
rtmux-c7a121cfc0137c907b7bfb0c3fd1bdee395af8aa.zip
Focus events can cause trouble if left on and they can't be turned off
during idle periods (like the other states are) because we'd miss events. So add a server option to control them. Defaults to off.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index cd40d4ef..5dd86d38 100644
--- a/tmux.h
+++ b/tmux.h
@@ -934,6 +934,7 @@ struct window_pane {
#define PANE_DROP 0x2
#define PANE_FOCUSED 0x4
#define PANE_RESIZE 0x8
+#define PANE_FOCUSPUSH 0x10
char *cmd;
char *shell;
@@ -1225,6 +1226,7 @@ struct tty {
#define TTY_UTF8 0x8
#define TTY_STARTED 0x10
#define TTY_OPENED 0x20
+#define TTY_FOCUS 0x40
int flags;
int term_flags;
@@ -1376,6 +1378,9 @@ struct cmd {
char *file;
u_int line;
+#define CMD_CONTROL 0x1
+ int flags;
+
TAILQ_ENTRY(cmd) qentry;
};
struct cmd_list {