diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2013-06-23 13:10:46 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2013-06-23 13:10:46 +0000 |
commit | 3977dba76139b5d4b0a6e60458d39a374beeedf3 (patch) | |
tree | c9a2eb74d17f3b685766bd460258b460eddb3a4b /tmux.h | |
parent | a41cd8d75b55da5a1e75e187b30b33917c18c1b2 (diff) | |
download | rtmux-3977dba76139b5d4b0a6e60458d39a374beeedf3.tar.gz rtmux-3977dba76139b5d4b0a6e60458d39a374beeedf3.tar.bz2 rtmux-3977dba76139b5d4b0a6e60458d39a374beeedf3.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.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -941,6 +941,7 @@ struct window_pane { #define PANE_DROP 0x2 #define PANE_FOCUSED 0x4 #define PANE_RESIZE 0x8 +#define PANE_FOCUSPUSH 0x10 char *cmd; char *shell; @@ -1232,6 +1233,7 @@ struct tty { #define TTY_UTF8 0x8 #define TTY_STARTED 0x10 #define TTY_OPENED 0x20 +#define TTY_FOCUS 0x40 int flags; int term_flags; @@ -1383,6 +1385,9 @@ struct cmd { char *file; u_int line; +#define CMD_CONTROL 0x1 + int flags; + TAILQ_ENTRY(cmd) qentry; }; struct cmd_list { |