summaryrefslogtreecommitdiffstats
path: root/options-table.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2013-06-23 13:10:46 +0000
committerNicholas Marriott <nicm@openbsd.org>2013-06-23 13:10:46 +0000
commit3977dba76139b5d4b0a6e60458d39a374beeedf3 (patch)
treec9a2eb74d17f3b685766bd460258b460eddb3a4b /options-table.c
parenta41cd8d75b55da5a1e75e187b30b33917c18c1b2 (diff)
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 c73842f7..cf0202b7 100644
--- a/options-table.c
+++ b/options-table.c
@@ -76,6 +76,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() */