systemd: add HYPRLAND_NO_SD_NOTIFY

fixes #4217
This commit is contained in:
vaxerski
2023-12-21 22:27:12 +01:00
parent bc51a91043
commit bd952dcef2
5 changed files with 18 additions and 14 deletions

View File

@@ -9,9 +9,7 @@ extern "C" {
}
CHyprRenderer::CHyprRenderer() {
const auto ENV = getenv("WLR_DRM_NO_ATOMIC");
if (ENV && std::string(ENV) == "1")
if (envEnabled("WLR_DRM_NO_ATOMIC"))
m_bTearingEnvSatisfied = true;
if (g_pCompositor->m_sWLRSession) {