Skip to content

Commit

Permalink
config: add explicit ctors for config variables
Browse files Browse the repository at this point in the history
fixes #190
  • Loading branch information
vaxerski committed Feb 21, 2024
1 parent f62fcea commit 65fb44a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/PortalManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 65fb44a

Please sign in to comment.