mirror of
https://github.com/hyprwm/xdg-desktop-portal-hyprland.git
synced 2024-11-22 14:35:57 +01:00
core: fix invalid type passed to CConfig
This commit is contained in:
parent
09e97f5940
commit
a2c37e2d6e
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@ CPortalManager::CPortalManager() {
|
||||||
|
|
||||||
std::string path = XDG_CONFIG_HOME ? std::string{XDG_CONFIG_HOME} + "/hypr/xdph.conf" : std::string{HOME} + "/.config/hypr/xdph.conf";
|
std::string path = XDG_CONFIG_HOME ? std::string{XDG_CONFIG_HOME} + "/hypr/xdph.conf" : std::string{HOME} + "/.config/hypr/xdph.conf";
|
||||||
|
|
||||||
m_sConfig.config = std::make_unique<Hyprlang::CConfig>(path, Hyprlang::SConfigOptions{.allowMissingConfig = true});
|
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", {0L});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue