diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2013-02-23 10:01:34 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2013-02-23 10:01:34 +0000 |
commit | ee0f8adfac76cdf21cfd2c0b503d8d66dcb883cc (patch) | |
tree | 1a01c4d91d47e46fabc6782240dc0c0a8e58218f /tmux.h | |
parent | 1ed37385c66cbfe9221e9ee4025105a5370d1ef2 (diff) | |
download | rtmux-ee0f8adfac76cdf21cfd2c0b503d8d66dcb883cc.tar.gz rtmux-ee0f8adfac76cdf21cfd2c0b503d8d66dcb883cc.tar.bz2 rtmux-ee0f8adfac76cdf21cfd2c0b503d8d66dcb883cc.zip |
Handle focus events from the terminal, from Aaron Jensen.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 4 |
1 files changed, 4 insertions, 0 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; |