diff --git a/src/debug/HyprCtl.cpp b/src/debug/HyprCtl.cpp index 734791ab..de2aaeb8 100644 --- a/src/debug/HyprCtl.cpp +++ b/src/debug/HyprCtl.cpp @@ -962,7 +962,7 @@ std::string dispatchBatch(eHyprCtlOutputFormat format, std::string request) { nextItem(); - while (curitem != "") { + while (curitem != "" || request != "") { reply += g_pHyprCtl->getReply(curitem); nextItem();