config: add explicit ctors for config variables

fixes #190
This commit is contained in:
Vaxry 2024-02-21 16:29:18 +00:00
parent f62fcea0cb
commit 65fb44ae49

View file

@ -210,7 +210,7 @@ CPortalManager::CPortalManager() {
m_sConfig.config = std::make_unique<Hyprlang::CConfig>(path.c_str(), Hyprlang::SConfigOptions{.allowMissingConfig = true});
m_sConfig.config->addConfigValue("general:toplevel_dynamic_bind", {0L});
m_sConfig.config->addConfigValue("general:toplevel_dynamic_bind", Hyprlang::INT{0L});
m_sConfig.config->commence();
m_sConfig.config->parse();