diff options
Diffstat (limited to 'src/config.cpp')
-rw-r--r-- | src/config.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/config.cpp b/src/config.cpp index c7e4ddb..cee9e91 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -29,6 +29,11 @@ config::config() : cfg() { else { this->cfg["layers.json"] = std::string(path_layers_json) + std::string("/etc/layers.json"); } + + const char *ignore_aspect = getenv("HMI_SCALING_IGNORE_ASPECT"); + if (ignore_aspect) { + this->cfg["scaling_ignore_aspect"] = std::string(ignore_aspect); + } } } // namespace wm |