summaryrefslogtreecommitdiff
path: root/src/Compositor.cpp
diff options
context:
space:
mode:
authorZach DeCook <zachdecook@librem.one>2025-01-20 13:40:51 -0500
committerGitHub <noreply@github.com>2025-01-20 18:40:51 +0000
commita661203bb6d4714b211572759e2f74b1da194972 (patch)
tree7b2b18e5f84197e18ed54c48dff762e6aa7b2ed7 /src/Compositor.cpp
parent9e8d9791c7f9b7d1183110da370772a8b2c1b6f4 (diff)
xwayland: fix crash when trying to initialize without Xwayland installed (#9077)
Diffstat (limited to 'src/Compositor.cpp')
-rw-r--r--src/Compositor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Compositor.cpp b/src/Compositor.cpp
index 325bd882..cd0c7c61 100644
--- a/src/Compositor.cpp
+++ b/src/Compositor.cpp
@@ -669,7 +669,7 @@ void CCompositor::initManagers(eManagersInitStage stage) {
g_pDonationNagManager = std::make_unique<CDonationNagManager>();
Debug::log(LOG, "Starting XWayland");
- g_pXWayland = std::make_unique<CXWayland>(g_pCompositor->m_bEnableXwayland);
+ g_pXWayland = std::make_unique<CXWayland>(g_pCompositor->m_bWantsXwayland);
} break;
default: UNREACHABLE();
}