aboutsummaryrefslogtreecommitdiff
path: root/options-table.c
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 /options-table.c
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 'options-table.c')
-rw-r--r--options-table.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/options-table.c b/options-table.c
index fe21f165..2281d652 100644
--- a/options-table.c
+++ b/options-table.c
@@ -75,6 +75,11 @@ const struct options_table_entry server_options_table[] = {
.default_num = 0
},
+ { .name = "focus-events",
+ .type = OPTIONS_TABLE_FLAG,
+ .default_num = 0
+ },
+
{ .name = "quiet",
.type = OPTIONS_TABLE_FLAG,
.default_num = 0 /* overridden in main() */