diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-07-14 11:43:15 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-07-14 11:43:15 +0200 |
| commit | 65e75c0b4427965a0fa3386e2bd27e58f195d2d6 (patch) | |
| tree | 175e273a4bfba35ec1778a01e289e154db76063e /src/debug/HyprCtl.cpp | |
| parent | 7c999fb9f55eb803645b36ef782ced24638aac42 (diff) | |
fix backwards hyprctl compat
Diffstat (limited to 'src/debug/HyprCtl.cpp')
| -rw-r--r-- | src/debug/HyprCtl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug/HyprCtl.cpp b/src/debug/HyprCtl.cpp index 6b94ce1d..1e6a8e32 100644 --- a/src/debug/HyprCtl.cpp +++ b/src/debug/HyprCtl.cpp @@ -518,7 +518,7 @@ std::string getReply(std::string request) { auto format = HyprCtl::FORMAT_NORMAL; // process flags for non-batch requests - if (!(request.find("[[BATCH]]") == 0)) { + if (!request.contains("[[BATCH]]") && request.contains("/")) { long unsigned int sepIndex = 0; for (const auto& c : request) { if (c == '/') { // stop at separator |
