diff --git a/src/debug/HyprCtl.cpp b/src/debug/HyprCtl.cpp index 68b74fa78..11f293a52 100644 --- a/src/debug/HyprCtl.cpp +++ b/src/debug/HyprCtl.cpp @@ -753,10 +753,7 @@ std::string versionRequest(HyprCtl::eHyprCtlOutputFormat format) { #ifdef LEGACY_RENDERER result += "legacyrenderer\n"; #endif -#ifndef NDEBUG - result += "debug\n"; -#endif -#ifdef HYPRLAND_DEBUG +#ifndef ISDEBUG result += "debug\n"; #endif #ifdef NO_XWAYLAND @@ -779,10 +776,7 @@ std::string versionRequest(HyprCtl::eHyprCtlOutputFormat format) { #ifdef LEGACY_RENDERER result += "\"legacyrenderer\","; #endif -#ifndef NDEBUG - result += "\"debug\","; -#endif -#ifdef HYPRLAND_DEBUG +#ifndef ISDEBUG result += "\"debug\","; #endif #ifdef NO_XWAYLAND