summaryrefslogtreecommitdiff
path: root/src/debug
diff options
context:
space:
mode:
authorAndré Silva <123550+andresilva@users.noreply.github.com>2023-12-26 13:14:12 +0000
committerGitHub <noreply@github.com>2023-12-26 14:14:12 +0100
commit2c2ff4b61b774915089229ec43d4e05b690d38bd (patch)
treea6da686dbeb858678a52a9dee7f1fd81a039e105 /src/debug
parent4f99e805b900b72f5e2bed54a1a44d10c8d54771 (diff)
hyprctl: check only ISDEBUG in version (#3702)
Diffstat (limited to 'src/debug')
-rw-r--r--src/debug/HyprCtl.cpp10
1 files 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