mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-10 09:01:55 -07:00
xwayland: fix crash when trying to initialize without Xwayland installed (#9077)
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user