Add an XEmbed compatibility option

This commit is contained in:
Robbert van der Helm
2020-12-25 18:11:55 +01:00
parent 7da5ec113c
commit 49eeee99fa
5 changed files with 29 additions and 2 deletions
+6
View File
@@ -90,6 +90,12 @@ Configuration::Configuration(const fs::path& config_path,
} else {
invalid_options.push_back(key);
}
} else if (key == "editor_xembed") {
if (const auto parsed_value = value.as_boolean()) {
editor_xembed = parsed_value->get();
} else {
invalid_options.push_back(key);
}
} else if (key == "group") {
if (const auto parsed_value = value.as_string()) {
group = parsed_value->get();