hyprctl: check only ISDEBUG in version (#3702)

This commit is contained in:
André Silva 2023-12-26 13:14:12 +00:00 committed by GitHub
parent 4f99e805b9
commit 2c2ff4b61b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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