summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 0cb5585e..d7624c4e 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -160,8 +160,8 @@ int main(int argc, char** argv) {
// let's init the compositor.
// it initializes basic Wayland stuff in the constructor.
try {
- g_pCompositor = makeUnique<CCompositor>(verifyConfig);
- g_pCompositor->explicitConfigPath = configPath;
+ g_pCompositor = makeUnique<CCompositor>(verifyConfig);
+ g_pCompositor->m_explicitConfigPath = configPath;
} catch (const std::exception& e) {
std::println(stderr, "Hyprland threw in ctor: {}\nCannot continue.", e.what());
return 1;