diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-10-10 20:23:08 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-10-10 20:23:08 +0000 |
| commit | 8e161ed4e96919fdfb47f90467ab6d3a328d1064 (patch) | |
| tree | 86d4c0cd94d4c99fc084b490e149640fa1817543 /config.c | |
| parent | Merge branch 'bind-shift+insert-to-primary-paste' into master (diff) | |
| parent | doc: foot.ini.t: csd.preferred: repair indentation of “default: _server_” (diff) | |
Merge branch 'no-window-decorations' into master
Closes #163
Diffstat (limited to 'config.c')
| -rw-r--r-- | config.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -813,8 +813,12 @@ parse_section_csd(const char *key, const char *value, struct config *conf, conf->csd.preferred = CONF_CSD_PREFER_SERVER; else if (strcmp(value, "client") == 0) conf->csd.preferred = CONF_CSD_PREFER_CLIENT; + else if (strcmp(value, "none") == 0) + conf->csd.preferred = CONF_CSD_PREFER_NONE; else { - LOG_AND_NOTIFY_ERR("%s:%d: csd.preferred: expected either 'server' or 'client'", path, lineno); + LOG_AND_NOTIFY_ERR( + "%s:%d: csd.preferred: expected either " + "'server', 'client' or 'none'", path, lineno); return false; } } |
