From 2c2ff4b61b774915089229ec43d4e05b690d38bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Silva?= <123550+andresilva@users.noreply.github.com> Date: Tue, 26 Dec 2023 13:14:12 +0000 Subject: [PATCH] hyprctl: check only ISDEBUG in version (#3702) --- src/debug/HyprCtl.cpp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/debug/HyprCtl.cpp b/src/debug/HyprCtl.cpp index 68b74fa7..11f293a5 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