xwayland: fix crash when trying to initialize without Xwayland installed (#9077)
This commit is contained in:
parent
9e8d9791c7
commit
a661203bb6
5 changed files with 41 additions and 25 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue