mirror of
https://github.com/tmux/tmux.git
synced 2025-09-04 23:56:58 +00:00
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.
This commit is contained in:

committed by
Thomas Adam

parent
777be296ee
commit
c7a121cfc0
5
tmux.h
5
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 {
|
||||
|
Reference in New Issue
Block a user